git.cweiske.de
/
grauphel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
installation instructions
[grauphel.git]
/
templates
/
gui-note.php
diff --git
a/templates/gui-note.php
b/templates/gui-note.php
index a7e05874e18bebd3210dcd4d6199de796150323e..fb2d741c2381803378e954f397388558760fab9c 100644
(file)
--- a/
templates/gui-note.php
+++ b/
templates/gui-note.php
@@
-6,7
+6,11
@@
<script type="text/javascript" src="<?php p(OCP\Util::linkTo('grauphel','js/grauphel.js')); ?>"></script>
<div id="app-content" class="content">
<script type="text/javascript" src="<?php p(OCP\Util::linkTo('grauphel','js/grauphel.js')); ?>"></script>
<div id="app-content" class="content">
- <h1><?php p($_['note']->title); ?></h1>
+ <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:
<?php p(\OCP\Util::formatDate(strtotime($_['note']->{'last-change-date'}))); ?>
<p class="muted">
Last modified:
<?php p(\OCP\Util::formatDate(strtotime($_['note']->{'last-change-date'}))); ?>