https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42094

            Bug ID: 42094
           Summary: Tidy all script tags
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
        Depends on: 41324

On bug 41324 we tidy all the script tags that contained a kohaTable. Now we
would like to tidy all the remaining script tags.

We will certainly need a comment in the code to flag the script tag that is
used to interpolate TT variables into JS variable.

```
<script>
  // Accept TT tags here
  let js_variable = [% perl_variable %];
</script>

<script>
  // Here TT tags are prohibided, and ideally the code must be moved to a
separate .js file
  // And we can reuse js_variable
</script>
```


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41324
[Bug 41324] Tidy kohaTable block
-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to