aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authormarijus <mario@mariovavti.com>2014-07-25 09:42:50 +0200
committermarijus <mario@mariovavti.com>2014-07-25 09:42:50 +0200
commit9938f0c52b44b6173e02386d3415fbc69ac107ea (patch)
tree5bdaaa2ba0fb8e48c3fd66bdd823a62928e30d67 /view/tpl
parent9c40ee9e60df1eef0466f1c9f3cd9c30e429c80a (diff)
parent18f5890cb14e7c40909fdb92bffefee3415ba411 (diff)
downloadvolse-hubzilla-9938f0c52b44b6173e02386d3415fbc69ac107ea.tar.gz
volse-hubzilla-9938f0c52b44b6173e02386d3415fbc69ac107ea.tar.bz2
volse-hubzilla-9938f0c52b44b6173e02386d3415fbc69ac107ea.zip
Merge branch 'master' of https://github.com/friendica/red
Diffstat (limited to 'view/tpl')
-rwxr-xr-xview/tpl/profile_edit.tpl4
-rwxr-xr-xview/tpl/profile_vcard.tpl2
2 files changed, 3 insertions, 3 deletions
diff --git a/view/tpl/profile_edit.tpl b/view/tpl/profile_edit.tpl
index 196b3ac6d..edc93143e 100755
--- a/view/tpl/profile_edit.tpl
+++ b/view/tpl/profile_edit.tpl
@@ -6,9 +6,9 @@
<ul>
<li><a href="profile_photo" id="profile-photo_upload-link" title="{{$profpic}}">{{$profpic}}</a></li>
<li><a href="profile/{{$profile_id}}/view" id="profile-edit-view-link" title="{{$viewprof}}">{{$viewprof}}</a></li>
-<li><a href="{{$profile_clone_link}}" id="profile-edit-clone-link" title="{{$cr_prof}}">{{$cl_prof}}</a></li>
+{{if $profile_clone_link}}<li><a href="{{$profile_clone_link}}" id="profile-edit-clone-link" title="{{$cr_prof}}">{{$cl_prof}}</a></li>{{/if}}
<li></li>
-<li><a href="{{$profile_drop_link}}" id="profile-edit-drop-link" title="{{$del_prof}}" {{$disabled}} >{{$del_prof}}</a></li>
+{{if ! $default}}<li><a href="{{$profile_drop_link}}" id="profile-edit-drop-link" title="{{$del_prof}}" {{$disabled}} >{{$del_prof}}</a></li>{{/if}}
</ul>
</div>
diff --git a/view/tpl/profile_vcard.tpl b/view/tpl/profile_vcard.tpl
index d72507d4c..a653dca7d 100755
--- a/view/tpl/profile_vcard.tpl
+++ b/view/tpl/profile_vcard.tpl
@@ -2,7 +2,7 @@
{{if $profile.edit}}
<div class="dropdown">
- <a class="profile-edit-side-link dropdown-toggle" data-toggle="dropdown" title="{{$profile.edit.3}}" href="#" ><i class="icon-pencil" title="{{$profile.edit.1}}" ></i></a>
+ <a class="profile-edit-side-link dropdown-toggle" data-toggle="dropdown" title="{{$profile.edit.3}}" href="#" ><i class="icon-pencil btn btn-default btn-xs" title="{{$profile.edit.1}}" ></i></a>
<ul class="dropdown-menu" role="menu">
{{foreach $profile.menu.entries as $e}}
<li>