From f2cf46f0a04106029bc9212314cb10fe0bb7ff56 Mon Sep 17 00:00:00 2001 From: huang Date: Thu, 9 Apr 2015 19:38:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=BC=BA=E9=99=B7=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E6=98=BE=E7=A4=BAbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/issues/index.html.erb | 6 +----- app/views/projects/show.html.erb | 1 - public/stylesheets/project.css | 11 +++++++++++ 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/app/views/issues/index.html.erb b/app/views/issues/index.html.erb index b4939d98e..9e9feb33c 100644 --- a/app/views/issues/index.html.erb +++ b/app/views/issues/index.html.erb @@ -4,11 +4,7 @@
<% unless @project.enabled_modules.where("name = 'issue_tracking'").empty? %> - <% if User.current.member_of?(@project) %> - <%= link_to l(:label_issue_new), {:controller => 'issues', :action => 'new', :copy_from => nil}, :param => :project_id, :caption => :label_issue_new, - :html => {:accesskey => Redmine::AccessKeys.key_for(:new_issue)}, :class => 'icon icon-add' %> - <% end %> - <%= link_to l(:label_query), '#', :class => 'icon icon-help', + <%= link_to l(:label_query), '#', :onclick => '$("#custom_query").slideToggle(400); ' if true || User.current.logged? %> <% end %> diff --git a/app/views/projects/show.html.erb b/app/views/projects/show.html.erb index d32d7baa6..d0c4bd54f 100644 --- a/app/views/projects/show.html.erb +++ b/app/views/projects/show.html.erb @@ -33,7 +33,6 @@ :action => 'show', :id => act.id}, :class => "problem_tit fl fb " %> -

<%= textAreailizable act,:description %>
<%= l :label_activity_time %> :<%= format_activity_day(act.created_on) %> <%= format_time(act.created_on, false) %> diff --git a/public/stylesheets/project.css b/public/stylesheets/project.css index 8e44c0de3..32adea2bf 100644 --- a/public/stylesheets/project.css +++ b/public/stylesheets/project.css @@ -327,3 +327,14 @@ a:hover.st_add{ color:#ff8e15;} .label{ width:80px; text-align:right; font-size:14px; display:block; float:left;} .label02{ width:110px; text-align:right; font-size:14px; display:block; float:left;} .collapsible{ border-left:none;border-right:none;border-bottom:none; border-top:1px solid #e4e4e4; padding-top:10px; } +/*问题查询*/ +.icon-checked { background-image: url(../images/true.png); } +.icon-reload { background-image: url(../images/reload.png); } +.icon { + background-position: 0% 50%; + background-repeat: no-repeat; + font-family: '微软雅黑'; /*modify by men*/ + padding-left: 20px; + padding-top: 2px; + padding-bottom: 3px; +} \ No newline at end of file