Skip to content
GitLab
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
58ef85d5
Commit
58ef85d5
authored
Sep 07, 2009
by
Richard Mansfield
Browse files
Show no tags message in tag sideblock when users have no tags
parent
5b654041
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/theme/raw/templates/sideblocks/mytags.tpl
View file @
58ef85d5
<h3>
{
str
tag
=
"mytags"
}
</h3>
<div
class=
"sidebar-content mytags"
>
{
if
$data.tags
}
<h3>
{
str
tag
=
"mytags"
}
</h3>
<div
class=
"sidebar-content mytags"
>
{
foreach
from
=
$data.tags
item
=
tag
}
<a
class=
"tag"
style=
"font-size:
{
$tag
->
size
}
em;"
href=
"
{
$WWWROOT
}
tags.php?tag=
{
$tag
->
tag
|
urlencode
}
"
title=
"
{
str
tag
=
numitems
arg1
=
$tag
->
count
}
"
>
{
$tag
->
tag
|
escape
}
</a>
<a
class=
"tag"
style=
"font-size:
{
$tag
->
size
}
em;"
href=
"
{
$WWWROOT
}
tags.php?tag=
{
$tag
->
tag
|
urlencode
}
"
title=
"
{
str
tag
=
numitems
arg1
=
$tag
->
count
}
"
>
{
$tag
->
tag
|
escape
}
</a>
{/
foreach
}
</div>
{/
if
}
\ No newline at end of file
{
else
}
{
str
tag
=
youhavenottaggedanythingyet
}
{/
if
}
</div>
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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