Commit 5deb0a54 authored by Cecilia Vela Gurovic's avatar Cecilia Vela Gurovic
Browse files

Bug 1758226: Showing correct message in view edit button

behatnotneeded

Change-Id: Ia5863a8e45da3a5b8b9f7ea5fec8a20b17708163
parent 4cdcda8d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
<div id="toolbar-buttons" class="btn-group btn-toolbar btn-group-top">
        <a class="btn btn-default editviews editlayout {if $selected == 'layout' or $selected == 'editlayout'}active{/if}"
            href="{$WWWROOT}view/editlayout.php?id={$viewid}"
            title="{if $edittitle}{str tag=settings section=view}{else}{str tag=editlayout section=view}{/if}">
            title="{if $edittitle || $canuseskins}{str tag=settings section=view}{else}{str tag=editlayout section=view}{/if}">
            <span class="icon icon-lg icon-cogs"></span>
            <span class="btn-title">{if ($edittitle || $canuseskins) }{str tag=settings section=view}{else}{str tag=editlayout section=view}{/if}</span>
        </a>
+3 −3
Original line number Diff line number Diff line
@@ -73,7 +73,7 @@ Scenario: Clicking ID's (Bug 1428456)
 And I scroll to the top

 # Checking if we can change page layout
 When I follow "Edit layout"
 And I follow "Settings" in the "Toolbar buttons" property
 And I expand all fieldsets
 And I scroll to the base of id "addrow"
 And I press "Add a row"
@@ -98,7 +98,7 @@ Scenario: Profile and dashboard pages basic settings and skins can't be edited -
 And I follow "Profile page"
 And I scroll to the base of id "viewh1"
 And I follow "Edit"
 When I follow "Edit layout"
 And I follow "Settings" in the "Toolbar buttons" property
 And I should see "Layout"
 And I should not see "Basics"
 And I should see "Skin"
@@ -108,7 +108,7 @@ Scenario: Profile and dashboard pages basic settings and skins can't be edited -
 # Dashboard page
 And I choose "Dashboard" from main menu
 And I follow "Edit dashboard"
 When I follow "Edit layout"
 And I follow "Settings" in the "Toolbar buttons" property
 And I should see "Layout"
 And I should not see "Basics"
 And I should see "Skin"