展开和收起更多信息图片样式修改;跟踪者样式修改
This commit is contained in:
parent
61ce44af76
commit
9c07976751
|
@ -750,7 +750,7 @@ module ApplicationHelper
|
|||
end
|
||||
|
||||
def other_formats_links(&block)
|
||||
concat('<p class="other-formats fr">'.html_safe + l(:label_export_to))
|
||||
concat('<p class="other-formats fl">'.html_safe + l(:label_export_to))
|
||||
yield Redmine::Views::OtherFormatsBuilder.new(self)
|
||||
concat('</p>'.html_safe)
|
||||
end
|
||||
|
|
|
@ -301,7 +301,7 @@ module WatchersHelper
|
|||
c = checked.nil? ? object.watched_by?(user) : checked
|
||||
s = content_tag(:ul,
|
||||
content_tag(:li, "#{check_box_tag 'issue[watcher_user_ids][]', user.id, c, :id => nil } #{h link_to user.userInfo, user_path( user.id)}".html_safe,
|
||||
:id=>"issue_watcher_user_ids_#{user.id}",:style=>"float: left;width: 270px;margin: 0px 20px 10px 0px; overflow: hidden; line-height:1.6em;" ),
|
||||
:id=>"issue_watcher_user_ids_#{user.id}",:style=>"float: left;width: 175px;margin: 0px 20px 10px 0px; overflow: hidden; line-height:1.6em;" ),
|
||||
:class => "mb10 ml80")
|
||||
end.join.html_safe
|
||||
|
||||
|
|
|
@ -32,11 +32,6 @@
|
|||
<%= f.hidden_field :lock_version %>
|
||||
<%= hidden_field_tag 'last_journal_id', params[:last_journal_id] || @issue.last_journal_id %>
|
||||
<%= hidden_field_tag 'reference_user_id', params[:reference_user_id]%>
|
||||
<a remote="true" href="javascript:void(0)" class="blue_btn fl ml80" onclick="$('#issue-form').submit();">
|
||||
<%= l(:button_submit) %>
|
||||
</a>
|
||||
<%#= submit_tag l(:button_submit) %>
|
||||
<%= preview_link preview_edit_issue_path(:project_id => @project, :id => @issue), 'issue-form' ,'preview',{:class => "blue_btn fl ml10"}%>
|
||||
<% end %>
|
||||
|
||||
<div id="preview" class="wiki"></div>
|
||||
|
|
|
@ -11,6 +11,10 @@
|
|||
<%= render :partial => 'issues/form', :locals => {:f => f} %>
|
||||
</div>
|
||||
<!--<%= javascript_tag "$('#issue_subject').focus();" %>-->
|
||||
<a href="#" class="blue_btn fl ml80" onclick="$('#issue-form').submit();">
|
||||
<%= l(:button_create) %>
|
||||
</a>
|
||||
<%= preview_link preview_new_issue_path(:project_id => @project), 'issue-form', 'preview', {:class => "blue_btn fl ml10"} %>
|
||||
<% end %>
|
||||
|
||||
<div id="preview" class="wiki"></div>
|
||||
|
|
|
@ -115,7 +115,11 @@
|
|||
</div>
|
||||
<% end %>
|
||||
<!--留言-->
|
||||
|
||||
<a remote="true" href="javascript:void(0)" class="blue_btn fr mr80" onclick="$('#issue-form').submit();">
|
||||
<%= l(:button_submit) %>
|
||||
</a>
|
||||
<%#= submit_tag l(:button_submit) %>
|
||||
<%= preview_link preview_edit_issue_path(:project_id => @project, :id => @issue), 'issue-form' ,'preview',{:class => "blue_btn fr mr10"}%>
|
||||
</div>
|
||||
|
||||
<% if @changesets.present? %>
|
||||
|
|
|
@ -187,7 +187,7 @@
|
|||
<div class="lg-foot" id="lg-foot" onclick="show_more_msg();">
|
||||
<label id="expend_more_information" value="<%= l(:label_expend_information)%>"><%= l(:label_expend_information)%></label>
|
||||
<span class="g-arr-down">
|
||||
<img src="/images/jiantou.jpg" width="12" height="6" />
|
||||
<img id="arrow" src="/images/jiantou.jpg" width="12" height="6" />
|
||||
</span>
|
||||
</div>
|
||||
</div><!--项目简介 end-->
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 7.4 KiB After Width: | Height: | Size: 22 KiB |
Binary file not shown.
After Width: | Height: | Size: 22 KiB |
|
@ -38,16 +38,19 @@ function expand_tools_expand()
|
|||
function show_more_msg(){
|
||||
$("#course_description").toggleClass("course_description_none");
|
||||
var information = $("#expend_more_information");
|
||||
var arrow = $("#arrow");
|
||||
var val = information.attr("value");
|
||||
if (val=="展开更多信息" )
|
||||
{
|
||||
$("#expend_more_information").text("收起描述信息");
|
||||
information.attr("value","收起描述信息");
|
||||
arrow.attr("src","/images/jiantouup.jpg")
|
||||
}
|
||||
else
|
||||
{
|
||||
$("#expend_more_information").text("展开更多信息");
|
||||
information.attr("value","展开更多信息");
|
||||
arrow.attr("src","/images/jiantou.jpg")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue