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
531a5733
Commit
531a5733
authored
Aug 28, 2015
by
Liam Sharpe
Committed by
Robert Lyon
Sep 09, 2015
Browse files
default dropdown menu on register site page - Bug #1465107
behatnotneeded Change-Id: I72c879957c5b1b6badfcfc20dc20d7d5df10500f
parent
88622c56
Changes
3
Hide whitespace changes
Inline
Side-by-side
htdocs/lib/registration.php
View file @
531a5733
...
...
@@ -47,7 +47,9 @@ EOF;
'whatsent'
=>
array
(
'type'
=>
'fieldset'
,
'legend'
=>
get_string
(
'datathatwillbesent'
,
'admin'
),
'class'
=>
"collapse"
,
'collapsible'
=>
true
,
'collapsed'
=>
true
,
'class'
=>
'last'
,
'elements'
=>
array
(
'info'
=>
array
(
'type'
=>
'markup'
,
...
...
htdocs/theme/raw/templates/admin/registersite.tpl
View file @
531a5733
...
...
@@ -13,13 +13,7 @@
{/
if
}
{
if
$register
}
{
str
tag
=
registeryourmaharasitedetail
section
=
admin
args
=
$WWWROOT
}
<button
class=
"btn btn-default"
type=
"button"
data-toggle=
"collapse"
data-target=
"#register_whatsent_container"
aria-expanded=
"false"
aria-controls=
"register_whatsent_container"
>
<span
class=
"icon icon-chevron-circle-down icon-lg mrs"
></span>
{
str
tag
=
datathatwillbesent
section
=
admin
}
</button>
{
$register
|
safe
}
{
else
}
{
str
tag
=
siteregistered
section
=
admin
args
=
$WWWROOT
}
{/
if
}
...
...
@@ -27,4 +21,6 @@
</div>
</div>
{
include
file
=
'footer.tpl'
}
test/behat/features/admin/register_data.feature
View file @
531a5733
...
...
@@ -8,7 +8,7 @@ Scenario: Registered data that is sent (Bug 1447865)
Given
I log in as
"admin"
with password
"Password1"
And
I follow
"Administration"
And
I choose
"Register"
in
"Admin home"
When
I expand
"Data that will be sent"
node
When
I expand
all fieldsets
And
I wait
"1"
seconds
Then
I should see
"phpversion"
And
I should see
"dbversion"
...
...
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