[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX] Change tracker field count link to point to the fields management page
"luci \(@luciash\) via TikiWiki-cvs" <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.cvs |
|---|---|
| Message-ID | <68a491a438c37_2c5cdeb0771c@gitlab-sidekiq-low-urgency-cpu-bound-v2-7d84497f66-29z5c.mail> |
luci pushed to branch master at Tiki Wiki CMS Groupware / Tiki
Commits:
d3539377 by Landry Bitege at 2025-08-19T14:52:58+00:00
[FIX] Change tracker field count link to point to the fields management page
---
* [FIX] Change tracker field count link to point to the fields management page
See merge request tikiwiki/tiki!8068
- - - - -
1 changed file:
- templates/tiki-list_trackers.tpl
Changes:
=====================================
templates/tiki-list_trackers.tpl
=====================================
@@ -71,7 +71,9 @@
<th>{self_link _sort_arg='sort_mode' _sort_field='name'}{tr}Name{/tr}{/self_link}</th>
<th>{self_link _sort_arg='sort_mode' _sort_field='created'}{tr}Created{/tr}{/self_link}</th>
<th>{self_link _sort_arg='sort_mode' _sort_field='lastModif'}{tr}Last modified{/tr}{/self_link}</th>
- <th>{self_link _sort_arg='sort_mode' _sort_field='fieldsCount'}{tr}Fields{/tr}{/self_link}</th>
+ {if $tiki_p_admin eq 'y' or $tiki_p_admin_trackers eq 'y'}
+ <th>{self_link _sort_arg='sort_mode' _sort_field='fieldsCount'}{tr}Fields{/tr}{/self_link}</th>
+ {/if}
<th class="text-end">{self_link _sort_arg='sort_mode' _sort_field='items'}{tr}Items{/tr}{/self_link}</th>
{if $prefs.tracker_display_categories eq 'y'}
<th>{self_link _sort_arg='sort_mode' _sort_field='items'}{tr}Categories{/tr}{/self_link}</th>
@@ -108,12 +110,14 @@
</td>
<td class="date">{$tracker.created|tiki_short_date}</td>
<td class="date">{$tracker.lastModif|tiki_short_datetime}</td>
- <td class="date">
- <a class="tips" title="{tr}{$tracker.name|escape}:{/tr}{tr}View{/tr}"
- href="tiki-view_tracker.php?trackerId={$tracker.trackerId}">
- {$tracker.fieldsCount|escape}
- </a>
- </td>
+ {if $tiki_p_admin eq 'y' or $tiki_p_admin_trackers eq 'y'}
+ <td class="integer">
+ <a class="tips" title="{tr}{$tracker.name|escape}:{/tr}{tr}View fields{/tr}"
+ href="tiki-admin_tracker_fields.php?trackerId={$tracker.trackerId}">
+ {$tracker.fieldsCount|escape}
+ </a>
+ </td>
+ {/if}
<td class="integer">
<a class="tips" title="{tr}{$tracker.name|escape}:{/tr}{tr}View{/tr}"
href="tiki-view_tracker.php?trackerId={$tracker.trackerId}">
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/d35393775ccb69daa54a70c54e419a456f373b0d
--
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/d35393775ccb69daa54a70c54e419a456f373b0d
You're receiving this email because of your account on gitlab.com.
_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs