Skip to content

Commit

Permalink
fix(widget.twig): link href not absolute
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoineLemarchand committed Mar 13, 2024
1 parent 5c37b0e commit ba976c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/dashboard/widget.twig
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
{% set rand = random() %}
<div class="fw-bold fs-6 {{color ? "text-" ~ color : ''}}">{{title}}</div>
<div class="ct-chart ct-golden-section w-100" style="max-height: 20rem" id="widgetFor{{title|slug}}_{{rand}}"></div>
<link rel="stylesheet" href="/~antoine/itsm-ng2.0/node_modules/chartist/dist/index.css">
<link rel="stylesheet" href="{{root_doc}}/node_modules/chartist/dist/index.css">
<script>
$(document).ready(function() {
var chart = new Chartist.{{type|capitalize ~ 'Chart'}}("#widgetFor{{title|slug}}_{{rand}}",
Expand Down

0 comments on commit ba976c3

Please sign in to comment.