do not error out on basic auth
[grauphel.git] / templates / tag.php
index 8c7eecc2a4f8b0b98613ddc4b251b8b8b0361f43..a8752a44a8a76df57651cd72ed0f4426ee552ad0 100644 (file)
@@ -9,8 +9,8 @@
   <table class="table" id="grauphel-notes">
    <thead>
     <tr>
-     <th>Title</th>
-     <th>Last change</th>
+     <th id="headerTitle">Title</th>
+     <th>Modified</th>
     </tr>
    </thead>
    <tbody>
     <?php foreach ($_['notes'] as $note) { ?>
      <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 p($note['title']); ?></a>
+       <a class="cellclick" href="<?php p(OCP\Util::linkToRoute('grauphel.gui.note', array('guid' => $note['guid']))); ?>"><?php echo ($note['title']); ?></a>
       </td>
-      <td>
+      <td style="color: <?php echo p($note['dateColor']); ?>">
+       <?php p(\OCP\Util::formatDate(strtotime($note['last-change-date']))); ?>
       </td>
      </tr>
     <?php } ?>