Commit 12da89fe authored by Richard Mansfield's avatar Richard Mansfield
Browse files

More descriptive headings for group tabs

parent 97b415f0
...@@ -65,7 +65,7 @@ $smarty = smarty( ...@@ -65,7 +65,7 @@ $smarty = smarty(
'group' => $group, 'group' => $group,
) )
); );
$smarty->assign('heading', $group->name); $smarty->assign('heading', $group->name . ' - ' . get_string('Files', 'artefact.file'));
$smarty->assign('groupid', $groupid); $smarty->assign('groupid', $groupid);
$smarty->assign('grouptabs', group_get_menu_tabs($group)); $smarty->assign('grouptabs', group_get_menu_tabs($group));
$smarty->assign('INLINEJAVASCRIPT', $javascript); $smarty->assign('INLINEJAVASCRIPT', $javascript);
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
{include file="sidebar.tpl"} {include file="sidebar.tpl"}
{include file="columnleftstart.tpl"} {include file="columnleftstart.tpl"}
<h2>{$group->name|escape}</h2> <h2>{$group->name|escape} - {str tag='Members' section='group'}</h2>
<form action="{$WWWROOT}group/members.php" method="post"> <form action="{$WWWROOT}group/members.php" method="post">
<input type="hidden" id="groupid" name="id" value="{$group->id|escape}"> <input type="hidden" id="groupid" name="id" value="{$group->id|escape}">
......
...@@ -51,7 +51,7 @@ $shared = param_boolean('shared', 0) && $member; ...@@ -51,7 +51,7 @@ $shared = param_boolean('shared', 0) && $member;
$can_edit = group_user_can_edit_views($groupid); $can_edit = group_user_can_edit_views($groupid);
$smarty = smarty(array(), array(), array(), array('group' => $group)); $smarty = smarty(array(), array(), array(), array('group' => $group));
$smarty->assign('heading', $group->name); $smarty->assign('heading', $group->name . ' - ' . get_string('views'));
if ($can_edit) { if ($can_edit) {
$data = View::get_myviews_data($limit, $offset, $groupid); $data = View::get_myviews_data($limit, $offset, $groupid);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment