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
e8eed2da
Commit
e8eed2da
authored
Dec 20, 2010
by
Richard Mansfield
Browse files
Better spacing around commas in access lists
Signed-off-by:
Richard Mansfield
<
richard.mansfield@catalyst.net.nz
>
parent
4305eb0e
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/theme/raw/templates/view/share.tpl
View file @
e8eed2da
...
...
@@ -27,7 +27,7 @@
{/
if
}
{
if
$accesslist.accessgroups
}
<div
class=
"accesslistitem"
>
{
foreach
from
=
$accesslist.accessgroups
item
=
accessgroup
}
{
foreach
from
=
$accesslist.accessgroups
item
=
accessgroup
name
=
ags
}{
strip
}
{
if
$accessgroup.accesstype
==
'loggedin'
}
{
str
tag
=
"loggedin"
section
=
"view"
}
{
elseif
$accessgroup.accesstype
==
'public'
}
...
...
@@ -41,14 +41,14 @@
{/
if
}
{
if
$accessgroup.startdate
}
{
if
$accessgroup.stopdate
}
<span
class=
"date"
>
{
$accessgroup.startdate
|
strtotime
|
format_date
:
'strfdaymonthyearshort'
}
→
{
$accessgroup.stopdate
|
strtotime
|
format_date
:
'strfdaymonthyearshort'
}
</span>
<span
class=
"date"
>
{
$accessgroup.startdate
|
strtotime
|
format_date
:
'strfdaymonthyearshort'
}
→
{
$accessgroup.stopdate
|
strtotime
|
format_date
:
'strfdaymonthyearshort'
}
</span>
{
else
}
<span
class=
"date"
>
{
str
tag
=
after
}
{
$accessgroup.startdate
|
strtotime
|
format_date
:
'strfdaymonthyearshort'
}
</span>
<span
class=
"date"
>
{
str
tag
=
after
}
{
$accessgroup.startdate
|
strtotime
|
format_date
:
'strfdaymonthyearshort'
}
</span>
{/
if
}
{
elseif
$accessgroup.stopdate
}
<span
class=
"date"
>
{
str
tag
=
before
}
{
$accessgroup.stopdate
|
strtotime
|
format_date
:
'strfdaymonthyearshort'
}
</span>
{/
if
}
,
{/
foreach
}
<span
class=
"date"
>
{
str
tag
=
before
}
{
$accessgroup.stopdate
|
strtotime
|
format_date
:
'strfdaymonthyearshort'
}
</span>
{/
if
}
{
if
!
$dwoo.foreach.ags.last
}
,
{/
if
}
{/
strip
}
{/
foreach
}
</div>
{
if
$view.template
}
<div>
{
str
tag
=
thisviewmaybecopied
section
=
view
}
</div>
{/
if
}
</div>
...
...
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