diff --git a/app/views/issues/_detail.html.erb b/app/views/issues/_detail.html.erb index a6ee7e61f..56c22c37a 100644 --- a/app/views/issues/_detail.html.erb +++ b/app/views/issues/_detail.html.erb @@ -27,7 +27,7 @@ <%= render :partial => 'action_menu' %>
- <% if @issue.description? || @issue.attachments.any? -%> + <% if @issue.description? || @issue.attachments.length > 0 -%>
<% if @issue.description? %> <%#= link_to l(:button_quote), quoted_issue_path(@issue.id), :remote => true, :method => 'post', :class => 'icon icon-comment' if authorize_for('issues', 'edit') %> diff --git a/public/stylesheets/weui/.Rhistory b/public/stylesheets/weui/.Rhistory new file mode 100644 index 000000000..e69de29bb