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
a20ce01a
Commit
a20ce01a
authored
Oct 26, 2007
by
Nigel McNie
Browse files
If the person viewing the view is allowed to edit it, show a link for them to do so.
parent
df070761
Changes
1
Show whitespace changes
Inline
Side-by-side
htdocs/theme/default/templates/view/view.tpl
View file @
a20ce01a
{
include
file
=
"header.tpl"
}
{
include
file
=
"columnfullstart.tpl"
}
{
if
$can_edit
}
<div
class=
"fr editview"
>
<span
class=
"settingsicon"
>
<a
href=
"blocks.php?id=
{
$viewid
}
"
>
Edit this view
</a>
</span>
</div>
{/
if
}
<div
id=
"view"
>
<h3>
{
foreach
name
=
viewnav
from
=
$VIEWNAV
item
=
item
}
...
...
Write
Preview
Supports
Markdown
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