diff options
author | rtz12 <koenig@fagott.pw> | 2016-10-09 19:34:48 (UTC) |
---|---|---|
committer | rtz12 <koenig@fagott.pw> | 2016-10-09 19:34:48 (UTC) |
commit | 8ef693e3e601963bb52bb257986cfb56d7aab664 (patch) | |
tree | 9e48d3ba8661e5a38da9edefe15c83fe9bafcc37 /views/includes | |
parent | 4b0003241c69fd2a209a7e967254c0346847baff (diff) |
Slash vor dem ImagePath entfernen
Diffstat (limited to 'views/includes')
-rw-r--r-- | views/includes/card_gril.html | 2 | ||||
-rw-r--r-- | views/includes/instant_search_results.html | 2 | ||||
-rw-r--r-- | views/includes/list_gril.html | 2 |
3 files changed, 3 insertions, 3 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 /> |