Skip to content

Commit

Permalink
UI Components, Section View Control, fix of #28675
Browse files Browse the repository at this point in the history
  • Loading branch information
Amstutz committed Jul 28, 2020
1 parent 02afd98 commit 571bc2c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/UI/templates/default/ViewControl/tpl.section.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<div class="il-viewcontrol-section">
<a class="btn btn-default <!-- BEGIN prev_disabled --> ilSubmitInactive disabled<!-- END prev_disabled -->" type="button"
<a class="btn btn-default <!-- BEGIN prev_disabled --> ilSubmitInactive disabled<!-- END prev_disabled -->"
<!-- BEGIN prev_with_href --> href="{PREV_HREF}"<!-- END prev_with_href --> data-action="{PREV_ACTION}"
<!-- BEGIN prev_with_id --> id="{PREV_ID}"<!-- END prev_with_id -->><span class="glyphicon glyphicon-chevron-left"></span></a>
{BUTTON}
<a class="btn btn-default <!-- BEGIN next_disabled --> ilSubmitInactive disabled<!-- END next_disabled -->" type="button"
<a class="btn btn-default <!-- BEGIN next_disabled --> ilSubmitInactive disabled<!-- END next_disabled -->"
<!-- BEGIN next_with_href --> href="{NEXT_HREF}"<!-- END next_with_href --> data-action="{NEXT_ACTION}"
<!-- BEGIN next_with_id --> id="{NEXT_ID}"<!-- END next_with_id -->><span class="glyphicon glyphicon-chevron-right"></span></a>
</div>
4 changes: 2 additions & 2 deletions tests/UI/Component/ViewControl/ViewControlTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,9 @@ protected function getSectionExpectedHTML()
{
$expected = <<<EOT
<div class="il-viewcontrol-section">
<a class="btn btn-default " type="button" href="http://www.ilias.de" data-action="http://www.ilias.de"><span class="glyphicon glyphicon-chevron-left"></span></a>
<a class="btn btn-default " href="http://www.ilias.de" data-action="http://www.ilias.de"><span class="glyphicon glyphicon-chevron-left"></span></a>
<button class="btn btn-default" data-action="">Today</button>
<a class="btn btn-default " type="button" href="http://www.github.com" data-action="http://www.github.com"><span class="glyphicon glyphicon-chevron-right"></span></a>
<a class="btn btn-default " href="http://www.github.com" data-action="http://www.github.com"><span class="glyphicon glyphicon-chevron-right"></span></a>
</div>
EOT;
return $expected;
Expand Down

0 comments on commit 571bc2c

Please sign in to comment.