Commit 6b5d2b32 authored by Clare Lenihan's avatar Clare Lenihan Committed by Clare Lenihan
Browse files

added info about group to invite, leave and requestjoin group pages

parent 30ac3c9a
......@@ -73,6 +73,7 @@ $form = pieform(array(
$smarty = smarty();
$smarty->assign('heading', TITLE);
$smarty->assign('form', $form);
$smarty->assign('group', $group);
$smarty->display('group/invite.tpl');
function invitetogroup_submit(Pieform $form, $values) {
......
......@@ -80,6 +80,7 @@ $form = pieform(array(
$smarty = smarty();
$smarty->assign('heading', TITLE);
$smarty->assign('form', $form);
$smarty->assign('group', $group);
$smarty->display('group/leave.tpl');
function leavegroup_submit(Pieform $form, $values) {
......
......@@ -71,6 +71,7 @@ $form = pieform(array(
$smarty = smarty();
$smarty->assign('heading', TITLE);
$smarty->assign('form', $form);
$smarty->assign('group', $group);
$smarty->display('group/requestjoin.tpl');
function requestjoingroup_submit(Pieform $form, $values) {
......
......@@ -3,6 +3,7 @@
{include file="columnleftstart.tpl"}
<h2>{$heading|escape}</h2>
{include file="group/simplegroup.tpl" group=$group}
{$form}
{include file="columnleftend.tpl"}
{include file="footer.tpl"}
......@@ -3,6 +3,7 @@
{include file="columnleftstart.tpl"}
<h2>{$heading|escape}</h2>
{include file="group/simplegroup.tpl" group=$group}
{$form}
{include file="columnleftend.tpl"}
{include file="footer.tpl"}
......@@ -3,6 +3,7 @@
{include file="columnleftstart.tpl"}
<h2>{$heading|escape}</h2>
{include file="group/simplegroup.tpl" group=$group}
{$form}
{include file="columnleftend.tpl"}
{include file="footer.tpl"}
<div>
<h3>
<a href="{$WWWROOT}group/view.php?id={$group->id}">
{$group->name|escape}
</a>
</h3>
{if $group->description}
<p>
{$group->description}
</p>
{/if}
</div>
Markdown is supported
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