diff options
Diffstat (limited to 'views/dashboard.html')
-rw-r--r-- | views/dashboard.html | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/views/dashboard.html b/views/dashboard.html index f2d410d..0551285 100644 --- a/views/dashboard.html +++ b/views/dashboard.html | |||
@@ -16,12 +16,16 @@ | |||
16 | <div class="col s12 m6 l4"> | 16 | <div class="col s12 m6 l4"> |
17 | <div class="card white"> | 17 | <div class="card white"> |
18 | <div class="card-content black-text"> | 18 | <div class="card-content black-text"> |
19 | <span class="card-title">{{ $card.Title }}</span> | 19 | <span class="card-title">{{ $card.Title | html }}</span> |
20 | <p>{{ $card.Description }}</p> | 20 | <p>{{ $card.Description | html }}</p> |
21 | </div> | 21 | </div> |
22 | <div class="card-action"> | 22 | <div class="card-action"> |
23 | {{ range $action := $card.Actions }} | 23 | {{ range $action := $card.Actions }} |
24 | <a href="{{ $action.Link }}">{{ $action.Name }}</a> | 24 | {{ if $action.Disabled }} |
25 | <span>{{ $action.Name | html }}</span> | ||
26 | {{ else }} | ||
27 | <a href="{{ $action.Link }}">{{ $action.Name | html }}</a> | ||
28 | {{ end }} | ||
25 | {{ end }} | 29 | {{ end }} |
26 | </div> | 30 | </div> |
27 | </div> | 31 | </div> |