summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/list_xref.tpl14
1 files changed, 8 insertions, 6 deletions
diff --git a/templates/list_xref.tpl b/templates/list_xref.tpl
index 70183ce..55b3d0a 100644
--- a/templates/list_xref.tpl
+++ b/templates/list_xref.tpl
@@ -10,13 +10,15 @@
<th>{tr}Link{/tr}</th>
<th>{tr}Key{/tr}</th>
<th>{tr}Value{/tr}</th>
- {if $source ne 'history'}
- <th>{tr}Started{/tr}</th>
- {else}
- <th>{tr}Ended{/tr}</th>
+ {if $xrefAllowEdit}
+ {if $source ne 'history'}
+ <th>{tr}Started{/tr}</th>
+ {else}
+ <th>{tr}Ended{/tr}</th>
+ {/if}
+ <th>{tr}Updated{/tr}</th>
+ <th>{tr}Edit{/tr}</th>
{/if}
- <th>{tr}Updated{/tr}</th>
- {if $xrefAllowEdit}<th>{tr}Edit{/tr}</th>{/if}
</tr>
</thead>
<tbody>