diff options
author | friendica <info@friendica.com> | 2015-01-11 21:18:29 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2015-01-11 21:18:29 -0800 |
commit | 580c30f516806621edc653941e33f1ef028d4347 (patch) | |
tree | 061a921f1ca6ee92e3b67f84b93a72684548eaab /view/tpl | |
parent | a088a8f03c78160c865e64fbede01275e869cc5e (diff) | |
download | volse-hubzilla-580c30f516806621edc653941e33f1ef028d4347.tar.gz volse-hubzilla-580c30f516806621edc653941e33f1ef028d4347.tar.bz2 volse-hubzilla-580c30f516806621edc653941e33f1ef028d4347.zip |
another attempt to explain default permissions on connedit page
Diffstat (limited to 'view/tpl')
-rwxr-xr-x | view/tpl/abook_edit.tpl | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/view/tpl/abook_edit.tpl b/view/tpl/abook_edit.tpl index bb20312fa..03b7e2440 100755 --- a/view/tpl/abook_edit.tpl +++ b/view/tpl/abook_edit.tpl @@ -17,12 +17,15 @@ <div id="contact-edit-wrapper"> <form id="abook-edit-form" action="connedit/{{$contact_id}}" method="post" > -<div class="abook-permschange" style="display: none;"> -<div class="abook-perms-steps"><i class="icon-check"></i><br />{{$perms_step1}}</div> -<div class="abook-perms-steps"><i class="icon-check-empty"></i><br />{{$perms_step2}}</div> -<div class="abook-perms-steps"><i class="icon-check-empty"></i><br />{{$perms_step3}}</div> +<div class="abook-permsnew" style="display: none;"> +<div class="abook-perms-msg">{{$perms_step1}}</div> </div> +<div class="abook-permsmsg" style="display: none;"> +<div class="abook-perms-msg">{{$perms_new}}</div> +</div> + + <div class="abook-permssave" style="display: none;"> <input class="contact-edit-submit" type="submit" name="done" value="{{$submit}}" /> </div> @@ -88,6 +91,16 @@ <input class="contact-edit-submit" type="submit" name="done" value="{{$submit}}" /> +{{if $self && $noperms}} +<script> + if(typeof(connectDefaultShare) !== 'undefined') + connectDefaultShare(); + else + connectFullShare(); + abook_perms_msg(); +</script> +{{/if}} + </form> </div> </div> |