git.cweiske.de
/
grauphel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
highlight selected tag
[grauphel.git]
/
templates
/
tag.php
diff --git
a/templates/tag.php
b/templates/tag.php
index ea80ed051a1030899f2639d75873894e21eefcbd..850b03450289f7ea992ca7046368b36d497fa26d 100644
(file)
--- a/
templates/tag.php
+++ b/
templates/tag.php
@@
-3,11
+3,28
@@
<?php /** @var $l OC_L10N */ ?>
<?php $_['appNavigation']->printPage(); ?>
<?php /** @var $l OC_L10N */ ?>
<?php $_['appNavigation']->printPage(); ?>
-<div id="app-content">
+<div id="app-content"
class="list"
>
<h1>Notebook: <?php p($_['tag']); ?></h1>
<h1>Notebook: <?php p($_['tag']); ?></h1>
- <ul>
+
+ <table class="table" id="grauphel-notes">
+ <thead>
+ <tr>
+ <th>Title</th>
+ <th>Last change</th>
+ </tr>
+ </thead>
+ <tbody>
+
<?php foreach ($_['notes'] as $note) { ?>
<?php foreach ($_['notes'] as $note) { ?>
- <li data-id="<?php p($note['guid']); ?>"><a href="#"><?php p($note['title']); ?></a></li>
+ <tr id="note-<?php p($note['guid']); ?>">
+ <td>
+ <a class="cellclick" href="<?php p(OCP\Util::linkToRoute('grauphel.gui.note', array('guid' => $note['guid']))); ?>"><?php echo ($note['title']); ?></a>
+ </td>
+ <td>
+ </td>
+ </tr>
<?php } ?>
<?php } ?>
- </ul>
+
+ </tbody>
+ </table>
</div>
</div>