Commits

Anonymous committed 8a43461

Disable Location Tab in Profile page for now. (#304)

- We need to figure out a way to painlessly setup Google Maps
to work, and add instructions in the Install docs with it.
- The ticket tracking this task is #305.

Comments (0)

Files changed (2)

transifex/templates/userprofile/menu.html

 		<li{% ifequal section "overview" %} class="active"{% endifequal %}><a href="{% url profile_overview %}">{% trans "Overview" %}</a></li>
 		<li{% ifequal section "personal" %} class="active"{% endifequal %}><a href="{% url profile_edit_personal %}">{% trans "Personal information" %}</a></li>
 		<li{% ifequal section "avatar" %} class="active"{% endifequal %}><a href="{% url profile_edit_avatar %}">{% trans "Avatar" %}</a></li>
-		<li{% ifequal section "location" %} class="active"{% endifequal %}><a href="{% url profile_edit_location %}">{% trans "Location" %}</a></li>
+{# FIXME: Re-enable Location (#305) #}
+{#		<li{% ifequal section "location" %} class="active"{% endifequal %}><a href="{% url profile_edit_location %}">{% trans "Location" %}</a></li> #}
 		<li{% ifequal section "delete" %} class="active"{% endifequal %}><a href="{% url profile_delete %}">{% trans "Remove profile" %}</a></li>
 	</ul>
 	<hr class="space" />

transifex/templates/userprofile/profile/overview.html

 		{% if not validated and email %}<br /><a href="{% url email_validation_reset %}">{% trans "Resend validation e-mail" %}</a>
 		{% endif %}
 		<br />
+{# FIXME: Re-enable Location (#305) #}
 		{% if not user.get_profile.location %}
-			<a href="{% url profile_edit_location %}">{% trans "Add location" %}</a>
+			{# <a href="{% url profile_edit_location %}">{% trans "Add location" %}</a> #}
 		{% else %}
-			<a href="{% url profile_edit_location %}">{% trans "Change location" %}</a>
+			{# <a href="{% url profile_edit_location %}">{% trans "Change location" %}</a> #}
 		{% endif %}
                 {% url notification.views.notices as notices_url %}
                 {% if notices_url %}