[TikiWiki-commits] [Git][tikiwiki/tiki][master] [ENH][UI/UX] Change Git module default title from Git detail to Git information

Benoit Grégoire (@benoitg) via TikiWiki-cvs <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <691cfc7fa0eb4_2a17ebc020485@gitlab-sidekiq-low-urgency-cpu-bound-v2-665ff84797-vdhgf.mail>

Benoit Grégoire pushed to branch master at Tiki Wiki CMS Groupware / Tiki


Commits:
0aa9c844 by Elifeleti Mukisa Dan at 2025-11-18T23:00:45+00:00
[ENH][UI/UX] Change Git module default title from Git detail to Git information
---
* [ENH] Change Git module default title from Git detail to Git information

See merge request tikiwiki/tiki!9053

- - - - -


2 changed files:

- modules/mod-func-git_detail.php
- templates/modules/mod-git_detail.tpl


Changes:

=====================================
modules/mod-func-git_detail.php
=====================================
@@ -12,7 +12,7 @@
 function module_git_detail_info()
 {
     return [
-        'name' => tra('Git detail'),
+        'name' => tra('Git information'),
         'description' => tra('Git commit and last update information.'),
         'params' => [],
     ];


=====================================
templates/modules/mod-git_detail.tpl
=====================================
@@ -11,8 +11,10 @@ style="{$module_params.style}"
 }
 {if empty($error)}
     <div class="mod-git_detail cvsup">
-        <span class="label">{tr}Git information:{/tr}</span>&nbsp;
-        <span class="branch">{$content.branch}:<a href="https://gitlab.com/tikiwiki/tiki/-/commit/{$content.commit.hash}">{$content.commit.hash|substr:0:8}</a></span>&nbsp;
+        <span class="label">{tr}Branch:{/tr}</span>&nbsp;
+        <span class="branch">{$content.branch}</span><br>
+        <span class="label">{tr}Commit:{/tr}</span>&nbsp;
+        <a href="https://gitlab.com/tikiwiki/tiki/-/commit/{$content.commit.hash}">{$content.commit.hash|substr:0:8}</a>&nbsp;
         <span class="date">{tr}from{/tr} {$content.mdate|tiki_short_datetime}</span>
     </div>
 {else}



View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/0aa9c844127b33aaf27b8d7893e2722a6d41c1ef

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/0aa9c844127b33aaf27b8d7893e2722a6d41c1ef
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.