mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-27 12:53:13 +03:00
Merge pull request #689 from matthojo/User-Menu-Links
Removed unused user menu items and linked "Help / Support" to the right place
This commit is contained in:
commit
9031ae49b2
@ -15,8 +15,7 @@
|
||||
<ul class="overlay">
|
||||
<li class="usermenu-profile"><a href="/ghost/settings/user">Your Profile</a></li>
|
||||
<li class="divider"></li>
|
||||
<li class="usermenu-help"><a href="#">Help / Support</a></li>
|
||||
<li class="usermenu-shortcuts"><a href="#">Keyboard Shortcuts</a></li>
|
||||
<li class="usermenu-help"><a href="http://forum.tryghost.org">Help / Support</a></li>
|
||||
<li class="divider"></li>
|
||||
<li class="usermenu-signout"><a href="/signout/">Sign Out</a></li>
|
||||
</ul>
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*globals casper, __utils__, url */
|
||||
|
||||
casper.test.begin("Ghost dashboard is correct", 13, function suite(test) {
|
||||
casper.test.begin("Ghost dashboard is correct", 12, function suite(test) {
|
||||
test.filename = "dashboard_test.png";
|
||||
|
||||
casper.start(url + "ghost", function testTitleAndUrl() {
|
||||
@ -19,7 +19,6 @@ casper.test.begin("Ghost dashboard is correct", 13, function suite(test) {
|
||||
test.assertExists("#usermenu", "User menu is present");
|
||||
test.assertSelectorHasText("#usermenu .usermenu-profile a", "Your Profile");
|
||||
test.assertSelectorHasText("#usermenu .usermenu-help a", "Help / Support");
|
||||
test.assertSelectorHasText("#usermenu .usermenu-shortcuts a", "Keyboard Shortcuts");
|
||||
test.assertSelectorHasText("#usermenu .usermenu-signout a", "Sign Out");
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user