Skip to content

Commit

Permalink
Merge pull request #248 from wiiitek/patch-1
Browse files Browse the repository at this point in the history
Update index.html.erb, to show nice header (especially for A1 theme when there are no Articles)
  • Loading branch information
alexbevi committed Jul 2, 2014
2 parents cd18646 + af38863 commit 8ee8681
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/articles/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
</div>

<% if @project.categories.count == 0 %>
</br>
<h2><%= l(:knowledgebase_title) %></h2>
<p class="nodata"><%= l(:message_no_categories) %></p>

<% elsif @project.articles.count == 0 %>
</br>
<h2><%= l(:knowledgebase_title) %></h2>
<p class="nodata"><%= l(:message_no_articles) %></p>

<% else %>
Expand Down

0 comments on commit 8ee8681

Please sign in to comment.