From 1b05b05de6c4f0472e8c37091f5f007951d96517 Mon Sep 17 00:00:00 2001 From: nigel007 <609441862@qq.com> Date: Tue, 24 Sep 2019 07:31:46 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=86any=EF=BC=9F=E5=87=BD=E6=95=B0?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=BA=E4=BA=86.length=20>=200?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/issues/_detail.html.erb | 2 +- public/stylesheets/weui/.Rhistory | 0 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 public/stylesheets/weui/.Rhistory 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