[TikiWiki-commits] [Git][tikiwiki/tiki][tiki-fix-admingroups-tpl] [ENH] tiki-admingroups.tpl: add message and link to configure Homegroup for...

"Sammy Ndabo \(@ndabosam084\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <691e41fa519a6_2a2d76fc70640@gitlab-sidekiq-low-urgency-cpu-bound-v2-6df8d84988-jqvx4.mail>

Sammy Ndabo pushed to branch tiki-fix-admingroups-tpl at Tiki Wiki CMS Groupware / Tiki


Commits:
934e6d60 by Sammy Ndabo at 2025-11-20T01:17:09+03:00
[ENH] tiki-admingroups.tpl: add message and link to configure Homegroup for undefined group homepage

- - - - -


1 changed file:

- templates/tiki-admingroups.tpl


Changes:

=====================================
templates/tiki-admingroups.tpl
=====================================
@@ -100,6 +100,14 @@
                             <td class="text">
                                 {if !empty($users[user].groupHome)}
                                     <a class="link" href="{$users[user].groupHome|sefurl}" title="{tr}Group Homepage{/tr}">{tr}{$users[user].groupHome}{/tr}</a>
+                                {else}
+                                    <span class="text-muted">
+                                        {tr}Group homepage is not defined{/tr}.
+                                        <a class="btn btn-link p-0 align-baseline"
+                                            href="tiki-admingroups.php?group={$users[user].groupName|escape:"url"}{if $prefs.feature_tabs ne 'y'}#tab2{/if}">
+                                            {tr}Configure{/tr}
+                                        </a>
+                                    </span>
                                 {/if}
                             </td>
                         {/if}
@@ -448,7 +456,7 @@
                             <label for="anniversaryId">{tr}Anniversary{/tr}</label>
                             <input type="text" name="anniversary" id="anniversaryId" class="form-control" value="{if is_array($group_info)}{$group_info.anniversary|escape}{else}{/if}">
                             <div class="form-text">{tr}Use MMDD to specify an annual date as of which all users will be unassigned from the group, or DD to specify a monthly date.{/tr}</div>
-                            <label>{tr}Or{/tr}</label><br> 
+                            <label>{tr}Or{/tr}</label><br>
                             <label>{tr}Number of Days{/tr}</label>
                             <input type="text" class="form-control" name="expireAfter" value="{if is_array($group_info)}{$group_info.expireAfter|escape}{else}{/if}">
                             <div class="form-text">
@@ -832,7 +840,7 @@
                     <div class="mb-3 row">
                         <label class="col-sm-3 col-form-label">
                             {tr}CSV File{/tr}
-                            <a title="{tr}Help{/tr}" {popup text='user<br>user1<br>user2'}>{icon name='help'}</a> 
+                            <a title="{tr}Help{/tr}" {popup text='user<br>user1<br>user2'}>{icon name='help'}</a>
                         </label>
                         <div class="col-sm-7">
                             <input name="csvlist" type="file" accept=".csv" class="form-control">



View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/934e6d609b4865e5a298fdc0c2778be00483841e

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/934e6d609b4865e5a298fdc0c2778be00483841e
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.