Skip to content
This repository was archived by the owner on Jul 31, 2019. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions locales/en-US/server.properties
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ emailForHelp=If that doesn't help, <a href="mailto:thimble@mozillafoundation.org

# Userbar
userbarGetStarted=Get Started
userbarMyProjects=My Projects
userbarCoolFeatures=Cool Features
userbarGetInvolved=Get Involved
help=Help
Expand Down
3 changes: 2 additions & 1 deletion server/routes/projects/read.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ module.exports = function(config, req, res, next) {
avatar: user.avatar,
projects: projects,
queryString: qs,
logoutURL: config.logoutURL
logoutURL: config.logoutURL,
pageName: "projects"
};

res.render("projects-list/index.html", options);
Expand Down
3 changes: 3 additions & 0 deletions views/homepage/userbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
<div class="main-nav">

<a href="/{{ locale }}" class="{% if pageName == 'home' %}selected{% endif %}">{{ gettext("userbarGetStarted") }}</a>
{% if username %}
<a href="/{{ locale }}/projects" class="{% if pageName == 'projects' %}selected{% endif %}">{{ gettext("userbarMyProjects") }}</a>
{% endif %}
<a href="/{{ locale }}/features" class="{% if pageName == 'features' %}selected{% endif %}">{{ gettext("userbarCoolFeatures") }}</a>
<a href="/{{ locale }}/get-involved" class="{% if pageName == 'get-involved' %}selected{% endif %}">{{ gettext("userbarGetInvolved") }}</a>
</div>
Expand Down