diff options
author | Mario Vavti <mario@mariovavti.com> | 2018-09-19 15:00:06 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2018-09-19 15:00:06 +0200 |
commit | 34fec995f711b03bc19580ee9e57c22712cf51df (patch) | |
tree | 0d28e4d30aad2de5a9db6e4b9713986849d6fe14 /view/tpl/app.tpl | |
parent | ec7cbe272af07d184f8ecd5d2285bb8f31d2d9a4 (diff) | |
download | volse-hubzilla-34fec995f711b03bc19580ee9e57c22712cf51df.tar.gz volse-hubzilla-34fec995f711b03bc19580ee9e57c22712cf51df.tar.bz2 volse-hubzilla-34fec995f711b03bc19580ee9e57c22712cf51df.zip |
allow a second url in apd files for settings, hide pin and star buttons in edit mode and use strpos() instead of strstr() in some places
Diffstat (limited to 'view/tpl/app.tpl')
-rw-r--r-- | view/tpl/app.tpl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/view/tpl/app.tpl b/view/tpl/app.tpl index 3245a86e0..042f48704 100644 --- a/view/tpl/app.tpl +++ b/view/tpl/app.tpl @@ -20,6 +20,7 @@ {{if $delete}}<button type="submit" name="delete" value="{{if $deleted}}{{$undelete}}{{else}}{{$delete}}{{/if}}" class="btn btn-outline-secondary btn-sm" title="{{if $deleted}}{{$undelete}}{{else}}{{$delete}}{{/if}}" ><i class="fa fa-fw fa-trash-o drop-icons"></i></button>{{/if}} {{if $feature}}<button type="submit" name="feature" value="nav_featured_app" class="btn btn-outline-secondary btn-sm" title="{{if $featured}}{{$remove}}{{else}}{{$add}}{{/if}}"><i class="fa fa-fw fa-star{{if $featured}} text-warning{{/if}}"></i></button>{{/if}} {{if $pin}}<button type="submit" name="pin" value="nav_pinned_app" class="btn btn-outline-secondary btn-sm" title="{{if $pinned}}{{$remove_nav}}{{else}}{{$add_nav}}{{/if}}"><i class="fa fa-fw fa-thumb-tack{{if $pinned}} text-success{{/if}}"></i></button>{{/if}} + {{if $settings_url}}<a href="{{$settings_url}}" class="btn btn-outline-secondary btn-sm"><i class="fa fa-fw fa-cog"></i></a>{{/if}} </form> </div> {{/if}} |