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
49eb1e1c
Commit
49eb1e1c
authored
Feb 22, 2018
by
Robert Lyon
Committed by
Gerrit Code Review
Feb 22, 2018
Browse files
Merge "Bug #1750478: Legal agreement acceptance should be in collapsible panels Edit"
parents
cc3af3c7
887f5709
Changes
3
Hide whitespace changes
Inline
Side-by-side
htdocs/theme/raw/sass/_custom.scss
View file @
49eb1e1c
...
@@ -548,3 +548,8 @@
...
@@ -548,3 +548,8 @@
padding
:
5px
;
padding
:
5px
;
clear
:
right
;
clear
:
right
;
}
}
// Used to remove the second border around the legal information
#agreetoprivacy
.panel
{
border
:
0
;
}
htdocs/theme/raw/templates/privacy_panel_begin.tpl
View file @
49eb1e1c
{
if
$ignoreagreevalue
}
<div
class=
"panel panel-default"
>
<h2>
{
$privacytitle
}
</h2>
<div
class=
"last form-group collapsible-group"
>
{
$privacy
->
content
|
safe
}
<fieldset
class=
"pieform-fieldset last collapsible"
>
{
else
}
<legend>
<div
class=
"panel panel-default"
>
<h4>
<div
class=
"last form-group collapsible-group"
>
<a
href=
"#dropdown
{
$privacy
->
id
}
"
data-toggle=
"collapse"
aria-expanded=
"false"
aria-controls=
"dropdown"
class=
"collapsed"
>
<fieldset
class=
"pieform-fieldset last collapsible"
>
{
$privacytitle
}
<legend>
<span
class=
"icon icon-chevron-down collapse-indicator right pull-right"
></span>
<h4>
</a>
<a
href=
"#dropdown
{
$privacy
->
id
}
"
data-toggle=
"collapse"
aria-expanded=
"false"
aria-controls=
"dropdown"
class=
"collapsed"
>
</h4>
{
$privacytitle
}
</legend>
<span
class=
"icon icon-chevron-down collapse-indicator right pull-right"
></span>
<div
class=
"fieldset-body collapse
{
if
!(
$privacy
->
agreed
&&
$ignoreagreevalue
)
}
in
{/
if
}
"
id=
"dropdown
{
$privacy
->
id
}
"
>
</a>
<span
class=
"text-midtone pull-right"
>
{
str
tag
=
'lastupdated'
section
=
'admin'
}
{
$privacytime
}
</span>
</h4>
{
$privacy
->
content
|
safe
}
</legend>
<div
class=
"fieldset-body collapse"
id=
"dropdown
{
$privacy
->
id
}
"
>
<span
class=
"text-midtone pull-right"
>
{
str
tag
=
'lastupdated'
section
=
'admin'
}
{
$privacytime
}
</span>
{
$privacy
->
content
|
safe
}
{/
if
}
htdocs/theme/raw/templates/privacy_panel_end.tpl
View file @
49eb1e1c
{
if
!
$ignoreagreevalue
}
</div>
</div>
</fieldset>
</fieldset>
</div>
</div>
</div>
</div>
{/
if
}
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