aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-05-01 16:54:54 -0700
committerMario Vavti <mario@mariovavti.com>2018-05-02 09:30:33 +0200
commitc99fb4b7f1f551926e87d093f1931556e14ff053 (patch)
treefe7666f249c0512c5b610d2077e9273100e19954 /view
parentb28279241b6a20af9024afef221dcf410fb43e06 (diff)
downloadvolse-hubzilla-c99fb4b7f1f551926e87d093f1931556e14ff053.tar.gz
volse-hubzilla-c99fb4b7f1f551926e87d093f1931556e14ff053.tar.bz2
volse-hubzilla-c99fb4b7f1f551926e87d093f1931556e14ff053.zip
provide warnings about profile photo and cover photo permissions
Diffstat (limited to 'view')
-rwxr-xr-xview/tpl/cover_photo.tpl3
-rwxr-xr-xview/tpl/profile_photo.tpl4
2 files changed, 6 insertions, 1 deletions
diff --git a/view/tpl/cover_photo.tpl b/view/tpl/cover_photo.tpl
index 92efcdf02..5a5bf2286 100755
--- a/view/tpl/cover_photo.tpl
+++ b/view/tpl/cover_photo.tpl
@@ -86,6 +86,9 @@
<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}}
diff --git a/view/tpl/profile_photo.tpl b/view/tpl/profile_photo.tpl
index e48d05330..819502df5 100755
--- a/view/tpl/profile_photo.tpl
+++ b/view/tpl/profile_photo.tpl
@@ -94,7 +94,9 @@
<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
<div id="profile-photo-upload-wrapper">
-
+ {{if $info}}
+ <div class="section-content-warning-wrapper">{{$info}}</div>
+ {{/if}}
{{if $importfile}}
<input type="hidden" name="importfile" value="{{$importfile}}">
{{else}}