Commit 531a5733 authored by Liam Sharpe's avatar Liam Sharpe Committed by Robert Lyon
Browse files

default dropdown menu on register site page - Bug #1465107

behatnotneeded

Change-Id: I72c879957c5b1b6badfcfc20dc20d7d5df10500f
parent 88622c56
......@@ -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',
......
......@@ -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'}
......@@ -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"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment