aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrtz12 <koenig@fagott.pw>2016-10-09 19:34:48 (UTC)
committerrtz12 <koenig@fagott.pw>2016-10-09 19:34:48 (UTC)
commit8ef693e3e601963bb52bb257986cfb56d7aab664 (patch)
tree9e48d3ba8661e5a38da9edefe15c83fe9bafcc37
parent4b0003241c69fd2a209a7e967254c0346847baff (diff)
Slash vor dem ImagePath entfernen
-rw-r--r--views/includes/card_gril.html2
-rw-r--r--views/includes/instant_search_results.html2
-rw-r--r--views/includes/list_gril.html2
-rw-r--r--views/pages/gril.html2
4 files changed, 4 insertions, 4 deletions
diff --git a/views/includes/card_gril.html b/views/includes/card_gril.html
index 4166c9a..7e94d6e 100644
--- a/views/includes/card_gril.html
+++ b/views/includes/card_gril.html
@@ -1,7 +1,7 @@
1{{ define "card_gril" }} 1{{ define "card_gril" }}
2<div class="card white"> 2<div class="card white">
3 <div class="center-align" style="padding-top: 8px"> 3 <div class="center-align" style="padding-top: 8px">
4 <img class="circle responsive-img" src="/{{ .ImagePath false }}" /> 4 <img class="circle responsive-img" src="{{ .ImagePath false }}" />
5 </div> 5 </div>
6 <div class="card-content black-text"> 6 <div class="card-content black-text">
7 <span class="card-title">{{ .RomajiName }} <small class="grey-text">{{ .KanjiName }}</small></span> 7 <span class="card-title">{{ .RomajiName }} <small class="grey-text">{{ .KanjiName }}</small></span>
diff --git a/views/includes/instant_search_results.html b/views/includes/instant_search_results.html
index acdbb30..58c2695 100644
--- a/views/includes/instant_search_results.html
+++ b/views/includes/instant_search_results.html
@@ -1,7 +1,7 @@
1{{ define "instant_search_results" }} 1{{ define "instant_search_results" }}
2{{ range .results }} 2{{ range .results }}
3<li class="collection-item search-result avatar hoverable valign-wrapper" data-id="{{ .ID }}"> 3<li class="collection-item search-result avatar hoverable valign-wrapper" data-id="{{ .ID }}">
4 <img src="/{{ .ImagePath }}" alt="" class="circle"> 4 <img src="{{ .ImagePath }}" alt="" class="circle">
5 <span class="title valign">{ {{ .Name }} }</span> 5 <span class="title valign">{ {{ .Name }} }</span>
6</li> 6</li>
7{{ end }} 7{{ end }}
diff --git a/views/includes/list_gril.html b/views/includes/list_gril.html
index 8ac52e9..07f7f61 100644
--- a/views/includes/list_gril.html
+++ b/views/includes/list_gril.html
@@ -3,7 +3,7 @@
3 <div class="card-panel hoverable list-entry"> 3 <div class="card-panel hoverable list-entry">
4 <div class="row valign-wrapper"> 4 <div class="row valign-wrapper">
5 <div class="col s3 m2 {{ if not .Value.IsListOwner }}offset-s1 offset-m1{{ end }}"> 5 <div class="col s3 m2 {{ if not .Value.IsListOwner }}offset-s1 offset-m1{{ end }}">
6 <div class="circle gril-img" style="background-image: url(/{{ .Value.Gril.Gril.ImagePath true }})"> </div> 6 <div class="circle gril-img" style="background-image: url({{ .Value.Gril.Gril.ImagePath true }})"> </div>
7 </div> 7 </div>
8 <div class="col {{ if .Value.IsListOwner }}s6 m3{{ else }}s8 m9{{ end }}"> 8 <div class="col {{ if .Value.IsListOwner }}s6 m3{{ else }}s8 m9{{ end }}">
9 <span><a href="/gril/{{ .Value.Gril.Gril.Slug }}">{{ .Value.Gril.Gril.RomajiName }}</a><br /> 9 <span><a href="/gril/{{ .Value.Gril.Gril.Slug }}">{{ .Value.Gril.Gril.RomajiName }}</a><br />
diff --git a/views/pages/gril.html b/views/pages/gril.html
index eb66537..a24cb77 100644
--- a/views/pages/gril.html
+++ b/views/pages/gril.html
@@ -18,7 +18,7 @@
18 </p> 18 </p>
19 {{ end }} 19 {{ end }}
20 <div class="row center-align"> 20 <div class="row center-align">
21 <img src="/{{ $gril.ImagePath false }}" /> 21 <img src="{{ $gril.ImagePath false }}" />
22 {{ if .user }} 22 {{ if .user }}
23 <br /><br /><a class="waves-effect waves-light btn-large modal-trigger purple lighten-2" href="#modal_add_gril">Zu Liste hinzufügen</a> 23 <br /><br /><a class="waves-effect waves-light btn-large modal-trigger purple lighten-2" href="#modal_add_gril">Zu Liste hinzufügen</a>
24 {{ end }} 24 {{ end }}