index : flyspray | |
Archlinux32 customized Flyspray installation | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2020-02-01 09:05:48 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2020-02-01 09:05:48 +0100 |
commit | 6854cb3f4d8219cf1829e32122eb2502a916eae9 (patch) | |
tree | 350feb504587d932e02837a1442b059759927646 /themes/CleanFS/templates/details.tabs.history.callback.tpl |
-rw-r--r-- | themes/CleanFS/templates/details.tabs.history.callback.tpl | 32 |
diff --git a/themes/CleanFS/templates/details.tabs.history.callback.tpl b/themes/CleanFS/templates/details.tabs.history.callback.tpl new file mode 100644 index 0000000..07eefd5 --- /dev/null +++ b/themes/CleanFS/templates/details.tabs.history.callback.tpl @@ -0,0 +1,32 @@ +<?php if ($details && count($histories)): ?> +<table class="userlist history"> + <tr> + <th><?php echo Filters::noXSS(L('previousvalue')); ?></th> + <th><?php echo Filters::noXSS(L('newvalue')); ?></th> + </tr> + <tr> + <td><?php echo $details_previous; ?></td> + <td><?php echo $details_new; ?></td> + </tr> +</table> +<?php else: ?> +<table class="userlist history"> + <tr> + <th><?php echo Filters::noXSS(L('eventdate')); ?></th> + <th><?php echo Filters::noXSS(L('user')); ?></th> + <th><?php echo Filters::noXSS(L('event')); ?></th> + </tr> + + <?php foreach($histories as $history): ?> + <tr> + <td><?php echo Filters::noXSS(formatDate($history['event_date'], false)); ?></td> + <?php if($fs->prefs['enable_avatars'] == 1) { ?> + <td><?php echo tpl_userlinkavatar($history['user_id'], $fs->prefs['max_avatar_size'] / 2, 'left', '0px 5px 0px 0px'); ?> <?php echo tpl_userlink($history['user_id']); ?></td> + <?php } else { ?> + <td><?php echo tpl_userlink($history['user_id']); ?></td> + <?php } ?> + <td><?php echo event_description($history); ?></td> + </tr> + <?php endforeach; ?> +</table> +<?php endif; ?> |