aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-06-10 21:21:50 -0700
committerfriendica <info@friendica.com>2014-06-10 21:21:50 -0700
commit13ba9ef0037656b1e12d627f767fc2fc8781632a (patch)
treed447808b595ca2ae26e24ea7ec0646c2a625e000 /view/tpl
parente41375c8892b547c4bb01cb07fc5b771a756fd6e (diff)
downloadvolse-hubzilla-13ba9ef0037656b1e12d627f767fc2fc8781632a.tar.gz
volse-hubzilla-13ba9ef0037656b1e12d627f767fc2fc8781632a.tar.bz2
volse-hubzilla-13ba9ef0037656b1e12d627f767fc2fc8781632a.zip
merge the app menus
Diffstat (limited to 'view/tpl')
-rw-r--r--view/tpl/app.tpl4
-rw-r--r--view/tpl/app_select.tpl5
2 files changed, 4 insertions, 5 deletions
diff --git a/view/tpl/app.tpl b/view/tpl/app.tpl
index 09894c3d8..4719f7f96 100644
--- a/view/tpl/app.tpl
+++ b/view/tpl/app.tpl
@@ -1,7 +1,8 @@
<div class="app-container">
-<a href="{{if $app.alt_url}}{{$app.alt_url}}{{else}}{{$app.url}}{{/if}}" {{if $app.desc}}title="{{$app.desc}}{{if $app.price}} ({{$app.price}}){{/if}}"{{/if}}><img src="{{$app.photo}}" width="80" height="80" />
+<a href="{{$app.url}}" {{if $ap.target}}target="{{$ap.target}}" {{/if}}{{if $app.desc}}title="{{$app.desc}}{{if $app.price}} ({{$app.price}}){{/if}}"{{else}}title="{{$app.name}}"{{/if}}><img src="{{$app.photo}}" width="80" height="80" />
<div class="app-name">{{$app.name}}</div>
</a>
+{{if $app.type !== 'system'}}
{{if $purchase}}
<a href="{{$app.page}}" class="btn btn-default" title="{{$purchase}}" ><i class="icon-external"></i></a>
{{/if}}
@@ -13,5 +14,6 @@
{{if $delete}}<button type="submit" name="delete" value="{{$delete}}" class="btn btn-default" title="{{$delete}}" ><i class="icon-remove drop-icons"></i></button>{{/if}}
</form>
{{/if}}
+{{/if}}
</div>
diff --git a/view/tpl/app_select.tpl b/view/tpl/app_select.tpl
index 05f527371..5cf3f40d6 100644
--- a/view/tpl/app_select.tpl
+++ b/view/tpl/app_select.tpl
@@ -2,11 +2,8 @@
<div class="widget">
<h3>{{$title}}</h3>
<ul>
-<li><a href="apps">{{$system}}</a></li>
-<li><a href="apps/personal">{{$personal}}</a></li>
-<br />
<li><a href="appman">{{$new}}</a></li>
-<li><a href="apps/personal/edit">{{$edit}}</a></li>
+<li><a href="apps/edit">{{$edit}}</a></li>
</ul>
</div>
{{/if}}