diff options
| author | Christian Weiske <cweiske@cweiske.de> | 2014-10-27 23:16:15 +0100 |
|---|---|---|
| committer | Christian Weiske <cweiske@cweiske.de> | 2014-10-27 23:16:15 +0100 |
| commit | 0c9b45d210a5d94b3ba219e32b73233a5a795f61 (patch) | |
| tree | b49b11b52c475e04405486775837cdbe24a54a10 /templates/gui-note.php | |
| parent | 46a9ff9889466f23c310e2de100d0ae16c5a2a1a (diff) | |
| download | grauphel-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.php | 4 |
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: |
