Permalink
Browse files

[fix bug 941029] Add a non-functional selectors to avoid breaking tests

  • Loading branch information...
alexgibson committed Nov 21, 2013
1 parent 3d5e64a commit a8cfd10c312998b0df6e83db78d3424233c3db6f
Showing with 18 additions and 6 deletions.
  1. +18 −6 remo/base/templates/base_fd4.html
@@ -84,19 +84,21 @@
<div class="large-10 small-10 columns" id="login-box">
<div class="account anonymous nomenu logout">
{% if not user.is_authenticated() %}
{{ browserid_login(text='Sign in') }}
or
<span id="login-menu-locator">
{{ browserid_login(text='Sign in') }}
</span>
or
<a href="#" data-reveal-id="join-modal">Join</a>
{% else %}
<div class="hide-for-small">
<div class="hide-for-small" id="logout-menu-locator">
{% if user_is_rep(user) %}
<a id="base-displayname" href="{{ url('profiles_view_my_profile') }}">
{{ user.get_full_name()|default('user.userprofile.display_name') }}
</a>
{% else %}
{{ user.get_full_name()|default('user.userprofile.display_name') }}
{% endif %}
[<a href="{{ url('edit_settings') }}"> Settings </a>]
[<a id="settings-menu-locator" href="{{ url('edit_settings') }}"> Settings </a>]
[{{ browserid_logout(text='Sign out') }}]
</div>
<div class="show-for-small">
@@ -138,32 +140,42 @@ <h2><span class="metabold">mozilla</span> reps</h2>
<li>
{% if user.is_authenticated() %}
<a href="{{ url('dashboard') }}"
id="dashboard-menu-locator"
class="main {{ active(request, '^/dashboard') }}">Dashboard</a>
{% else %}
<a href="{{ url('main') }}"
id="main-menu-locator"
class="main {{ active(request, '^/$') }}">Main</a>
{% endif %}
</li>
<li>
<a href="{{ url('profiles_list_profiles') }}"
id="people-menu-locator"
class="main {{ active(request, '^/people/') }}">People</a>
</li>
<li>
<a href="{{ url('events_list_events') }}"
id="events-menu-locator"
class="main {{ active(request, '^/events/') }}">Events</a>
</li>
<li>
<a href="http://planet.mozillareps.org" class="main">Planet</a>
<a href="http://planet.mozillareps.org"
id="planet-menu-locator"
class="main">Planet</a>
</li>
<li>
<a href="https://wiki.mozilla.org/ReMo" class="main">Wiki</a>
<a href="https://wiki.mozilla.org/ReMo"
id="wiki-menu-locator"
class="main">Wiki</a>
</li>
<li>
<a href="{{ url('labs') }}"
id="labs-menu-locator"
class="main {{ active(request, '^/labs/$') }}">Labs</a>
</li>
<li class="last">
<a href="{{ url('faq') }}"
id="faq-menu-locator"
class="main {{ active(request, '^/faq/$') }}">FAQ</a>
</li>
</ul>

0 comments on commit a8cfd10

Please sign in to comment.