Permalink
Browse files

Remove search box when a project is unavailable

  • Loading branch information...
dcramer committed Sep 29, 2012
1 parent fd07930 commit d5bdba868c864c2b36f9ef1cbb46603a5a4c847d
Showing with 0 additions and 5 deletions.
  1. +0 −5 src/sentry/templates/sentry/header.html
@@ -12,11 +12,6 @@
<input type="hidden" name="sort" value="{% if sort %}{{ sort }}{% endif %}"/>
<input type="text" name="q" value="{% if query %}{{ query }}{% endif %}" placeholder="{% if HAS_SEARCH %}{% trans "search query or message id" %}{% else %}{% trans "message id" %}{% endif %}" class="search-query pull-left" />
</form>
- {% else %}
- <form class="navbar-search pull-right" id="search">
- <input type="hidden" name="sort" value="{% if sort %}{{ sort }}{% endif %}"/>
- <input type="text" name="q" value="{% if query %}{{ query }}{% endif %}" placeholder="{% trans "select a project to enable search" %}" class="search-query pull-left disabled" disabled="disabled" />
- </form>
{% endif %}
{% endblock %}

0 comments on commit d5bdba8

Please sign in to comment.