diff options
author | rtz12 <koenig@fagott.pw> | 2015-12-28 18:56:47 (UTC) |
---|---|---|
committer | rtz12 <koenig@fagott.pw> | 2015-12-28 18:56:47 (UTC) |
commit | eb03000339859fc3b5869cb8906f1e4f1022a52e (patch) | |
tree | b238d003268dfb9c93dfa80635ad8263cb67b2b8 /views/dashboard.html | |
parent | 23f73a60a4cf4621dd5951bfe6601a8c154cad07 (diff) | |
parent | 647c105dadfa58af6cfa80d3f359d43cfa5d5cf2 (diff) |
Merge branch 'master' of projekte.fagott.pw:grilist
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> |