aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/cover_photo.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/tpl/cover_photo.tpl')
-rwxr-xr-xview/tpl/cover_photo.tpl8
1 files changed, 6 insertions, 2 deletions
diff --git a/view/tpl/cover_photo.tpl b/view/tpl/cover_photo.tpl
index 829a3a556..5a5bf2286 100755
--- a/view/tpl/cover_photo.tpl
+++ b/view/tpl/cover_photo.tpl
@@ -86,10 +86,14 @@
<h2>{{$title}}</h2>
</div>
<div class="section-content-wrapper">
-
+ {{if $info}}
+ <div class="section-content-warning-wrapper">{{$info}}</div>
+ {{/if}}
+ {{if $existing}}
+ <img class="cover-photo-review" style="max-width: 100%;" src="{{$existing.url}}" alt="{{t('Cover Photo')}}" />
+ {{/if}}
<form enctype="multipart/form-data" action="cover_photo" method="post">
<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
-
<div id="profile-photo-upload-wrapper">
<label id="profile-photo-upload-label" class="form-label" for="profile-photo-upload">{{$lbl_upfile}}</label>