aboutsummaryrefslogtreecommitdiff
path: root/templates/gui-note.php
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2014-10-27 23:16:15 +0100
committerChristian Weiske <cweiske@cweiske.de>2014-10-27 23:16:15 +0100
commit0c9b45d210a5d94b3ba219e32b73233a5a795f61 (patch)
treeb49b11b52c475e04405486775837cdbe24a54a10 /templates/gui-note.php
parent46a9ff9889466f23c310e2de100d0ae16c5a2a1a (diff)
downloadgrauphel-0c9b45d210a5d94b3ba219e32b73233a5a795f61.tar.gz
grauphel-0c9b45d210a5d94b3ba219e32b73233a5a795f61.zip
Download note as XML and JSON
Diffstat (limited to 'templates/gui-note.php')
-rw-r--r--templates/gui-note.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/gui-note.php b/templates/gui-note.php
index 296a0d2..fb2d741 100644
--- a/templates/gui-note.php
+++ b/templates/gui-note.php
@@ -6,6 +6,10 @@
<script type="text/javascript" src="<?php p(OCP\Util::linkTo('grauphel','js/grauphel.js')); ?>"></script>
<div id="app-content" class="content">
+ <div class="actions">
+ <a class="button" href="<?php echo p($_['links']['json']); ?>">JSON</a>
+ <a class="button" href="<?php echo p($_['links']['xml']); ?>">XML</a>
+ </div>
<h1><?php echo ($_['note']->title); ?></h1>
<p class="muted">
Last modified: