aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-09-24 11:46:18 +0200
committerMario Vavti <mario@mariovavti.com>2018-09-24 11:46:18 +0200
commitc3aa15cc165730b6e67de580065ace255454dfb5 (patch)
tree7a3ed6285851c0fbe4556bc141af890f56d675b8 /view
parentb45bd901e05db6cb797f83cb9c0276911b965286 (diff)
downloadvolse-hubzilla-c3aa15cc165730b6e67de580065ace255454dfb5.tar.gz
volse-hubzilla-c3aa15cc165730b6e67de580065ace255454dfb5.tar.bz2
volse-hubzilla-c3aa15cc165730b6e67de580065ace255454dfb5.zip
appification of notes
Diffstat (limited to 'view')
-rw-r--r--view/tpl/notes.tpl11
1 files changed, 11 insertions, 0 deletions
diff --git a/view/tpl/notes.tpl b/view/tpl/notes.tpl
index c6d5d8a73..67da5ff37 100644
--- a/view/tpl/notes.tpl
+++ b/view/tpl/notes.tpl
@@ -1,5 +1,13 @@
+{{if $app}}
+<div class="generic-content-wrapper">
+ <div class="section-title-wrapper">
+ <h2>{{$banner}}</h2>
+ </div>
+ <div class="section-content-wrapper">
+{{else}}
<div class="widget">
<h3>{{$banner}}</h3>
+{{/if}}
<textarea name="note_text" id="note-text">{{$text}}</textarea>
<script>
var noteSaveTimer = null;
@@ -32,4 +40,7 @@
noteSaveTimer = setTimeout(noteSaveChanges,10000);
}
</script>
+{{if $app}}
+</div>
+{{/if}}
</div>