Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
e42a9518
Commit
e42a9518
authored
Feb 11, 2008
by
Clare Lenihan
Committed by
Clare Lenihan
Feb 11, 2008
Browse files
changing jointype message to only appear when the logged in user isn't a member
moved group description to just below the heading
parent
05e9f23f
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/theme/default/templates/group/view.tpl
View file @
e42a9518
...
...
@@ -4,11 +4,11 @@
{
include
file
=
"columnleftstart.tpl"
}
<h2>
{
$group
->
name
|
escape
}
</h2>
{
if
$group
->
description
}
<p>
{
$group
->
description
}
</p>
{/
if
}
<p>
{
str
tag
=
'owner'
section
=
'group'
}
:
{
$group
->
ownername
|
escape
}
</p>
{
assign
var
=
"jointype"
value
=
$group
->
jointype
}
{
assign
var
=
"joinstr"
value
=
groupjointype
$jointype
}
<p>
{
str
tag
=
$joinstr
section
=
'group'
}
</p>
{
if
$group
->
description
}
<p>
{
$group
->
description
}
</p>
{/
if
}
{
if
!
$member
}
<p>
{
str
tag
=
$joinstr
section
=
'group'
}
</p>
{/
if
}
{
if
$canleave
}
<p><a
href=
"
{
$WWWROOT
}
group/leave.php?id=
{
$group
->
id
}
"
>
{
str
tag
=
'leavegroup'
section
=
'group'
}
</a></p>
{
elseif
$canrequestjoin
}
<p
id=
"joinrequest"
><a
href=
"
{
$WWWROOT
}
group/requestjoin.php?id=
{
$group
->
id
}
"
>
{
str
tag
=
'requestjoingroup'
section
=
'group'
}
</a></p>
{
elseif
$canjoin
}
<p><a
href=
"view.php?id=
{
$group
->
id
}
&joincontrol=join"
"
>
{
str
tag
=
'joingroup'
section
=
'group'
}
</a></p>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment