编辑问题时,编辑问题状态,开始时间、计划完成时间右侧的时间选择器不见了

dev_repository_hjq
whimlex 10 years ago
parent 7e0120e029
commit dc955c7e2d

@ -59,12 +59,14 @@
<% end %> <% end %>
</p> </p>
<% end %> <% end %>
<div class="thumbnails">
<% if defined?(thumbnails) && thumbnails %> <% if defined?(thumbnails) && thumbnails %>
<% images = attachments.select(&:thumbnailable?) %> <% images = attachments.select(&:thumbnailable?) %>
<% if images.any? %> <% if images.any? %>
<% images.each do |attachment| %> <% images.each do |attachment| %>
<div class="pro_pic fl " width="100" height="73"><%= thumbnail_issue_tag(attachment) %></div> <div class="pro_pic fl "><%= thumbnail_issue_tag(attachment) %></div>
<% end %> <% end %>
<% end %> <% end %>
<% end %> <% end %>
</div>
</div> </div>

@ -9,7 +9,8 @@
<%= f.select :status_id, <%= f.select :status_id,
(@allowed_statuses.collect { |p| [p.name, p.id] }), (@allowed_statuses.collect { |p| [p.name, p.id] }),
{:no_label => true}, {:no_label => true},
:onchange => "updateIssueFrom('#{escape_javascript project_issue_form_path(@project, :id => @issue, :format => 'js')}')", # ajax 刷新
#:onchange => "updateIssueFrom('#{escape_javascript project_issue_form_path(@project, :id => @issue, :format => 'js')}')",
:class => "w150" %> :class => "w150" %>
<% else %> <% else %>
<%= h(@issue.status.name) %> <%= h(@issue.status.name) %>

@ -1,5 +1,5 @@
$('#all_attributes').html('<%= escape_javascript(render :partial => 'form') %>'); $('#all_attributes').html('<%= escape_javascript(render :partial => 'form') %>');
$(.splitcontent).style("display", "block") //$(.splitcontent).style("display", "block")
<% if User.current.allowed_to?(:log_time, @issue.project) %> <% if User.current.allowed_to?(:log_time, @issue.project) %>
$('#log_time').show(); $('#log_time').show();
<% else %> <% else %>

@ -25,7 +25,7 @@
<% <%
# @rev is revsion or Git and Mercurial branch or tag. # @rev is revsion or Git and Mercurial branch or tag.
# For Mercurial *tip*, @rev and @changeset are nil. # For Mercurial *tip*, @rev and @changeset are nil.
rev_text = @changeset.nil? ? "master" : format_revision(@changeset) rev_text = @changeset.nil? ? @rev : format_revision(@changeset)
%> %>
<p class="fl f14 fb c_grey02"><%= "@ #{h rev_text}" unless rev_text.blank? %></p> <p class="fl f14 fb c_grey02"><%= "@ #{h rev_text}" unless rev_text.blank? %></p>

@ -534,3 +534,13 @@ p.other-formats { text-align: right; font-size:0.9em; color: #666; }
/*pre标签换行*/ /*pre标签换行*/
.break_word{word-break: break-all;word-wrap: break-word;} .break_word{word-break: break-all;word-wrap: break-word;}
.break_word_firefox{white-space: pre-wrap;word-break: break-all;} .break_word_firefox{white-space: pre-wrap;word-break: break-all;}
/*问题跟踪attachment显示*/
div.attachments { margin-top: 12px; }
div.attachments p { margin:4px 0 2px 0; }
div.attachments img { vertical-align: middle; }
div.attachments span.author { font-size: 0.9em; color: #888; }
div.thumbnails {margin-top:0.6em;}
div.thumbnails div {background:#fff;display:inline-block;margin-right:2px;}

Loading…
Cancel
Save