Skip to content

Commit

Permalink
Label localization added
Browse files Browse the repository at this point in the history
  • Loading branch information
Witek committed Jun 30, 2014
1 parent e8b0081 commit af38863
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 %>
<h2>Knowledgebase</h2>
<h2><%= l(:knowledgebase_title) %></h2>
<p class="nodata"><%= l(:message_no_categories) %></p>

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

<% else %>
Expand Down

0 comments on commit af38863

Please sign in to comment.