解决冲突。修改版本页面

Merge branch 'dev_hjq' of http://repository.trustie.net/xianbo/trustie2 into dev_hjq

Conflicts:
	public/stylesheets/project.css
dev_repository_hjq
huang 10 years ago
commit 4afd9afd08

@ -32,6 +32,9 @@
%> %>
<%#= render :partial => 'tags/tag', :locals => {:obj => attachment, :object_flag => "6"} %> <%#= render :partial => 'tags/tag', :locals => {:obj => attachment, :object_flag => "6"} %>
<%= hidden_field_tag "attachments[p#{i}][token]", "#{attachment.token}" %>
</span>
<% end %>
<% end %> <% end %>
</span> </span>
<script type='text/javascript'> <script type='text/javascript'>

@ -4,34 +4,35 @@
<!--编辑的整个属性--> <!--编辑的整个属性-->
<% if @edit_allowed || !@allowed_statuses.empty? %> <% if @edit_allowed || !@allowed_statuses.empty? %>
<div id="all_attributes" style="display:none;"> <div id="all_attributes" style="display:none;">
<%= render :partial => 'form', :locals => {:f => f} %> <%= render :partial => 'form', :locals => {:f => f} %>
</div> </div>
<% end %><!--end--> <% end %><!--end-->
<div class="ping_C mb10"> </div> <div class="ping_C mb10"></div>
<!--<fieldset><legend><%#= l(:field_notes) %></legend>--> <!--<fieldset><legend><%#= l(:field_notes) %></legend>-->
<!--回复框--> <!--回复框-->
<% if @journals.present? %> <% if @journals.present? %>
<div id="history"> <div id="history">
<%= render :partial => 'history', :locals => { :issue => @issue, :journals => @journals } %> <%= render :partial => 'history', :locals => {:issue => @issue, :journals => @journals} %>
</div> </div>
<% end %> <% end %>
<%= f.text_area :notes, :style =>"width:99%;", :rows => "5", :no_label => true %> <fieldset><legend>说明</legend>
<%= f.text_area :notes, :style => "width:99%;", :rows => "5", :no_label => true %>
</fieldset>
<!--<%# if @issue.safe_attribute? 'private_notes' %>--> <!--<%# if @issue.safe_attribute? 'private_notes' %>-->
<!--<label for="issue_private_notes"><%#= f.check_box :private_notes, :no_label => true %> <%#= l(:field_private_notes) %></label>--> <!--<label for="issue_private_notes"><%#= f.check_box :private_notes, :no_label => true %> <%#= l(:field_private_notes) %></label>-->
<!--<%# end %>--> <!--<%# end %>-->
<%= call_hook(:view_issues_edit_notes_bottom, { :issue => @issue, :notes => @notes, :form => f }) %> <%= call_hook(:view_issues_edit_notes_bottom, {:issue => @issue, :notes => @notes, :form => f}) %>
<!--</fieldset>--> <!--</fieldset>-->
<!--<fieldset><legend><%#= l(:label_attachment_plural) %></legend>--> <!--<fieldset><legend><%#= l(:label_attachment_plural) %></legend>-->
<p style="padding-top: 5px;"><%= render :partial => 'attachments/form', :locals => {:container => @issue} %> <!--<p style="padding-top: 5px;"><%= render :partial => 'attachments/new_form', :locals => {:container => @issue} %>-->
<!--</fieldset>--> <!--</fieldset>-->
<div class="cl"></div> <div class="cl"></div>
<%= f.hidden_field :lock_version %> <%= f.hidden_field :lock_version %>
<%= hidden_field_tag 'last_journal_id', params[:last_journal_id] || @issue.last_journal_id %> <%= hidden_field_tag 'last_journal_id', params[:last_journal_id] || @issue.last_journal_id %>
<%= hidden_field_tag 'reference_user_id', params[:reference_user_id]%> <%= hidden_field_tag 'reference_user_id', params[:reference_user_id] %>
<% end %> <% end %>
<div id="preview" class="wiki"></div> <div id="preview" class="wiki"></div>

@ -115,6 +115,7 @@
</div> </div>
<% end %> <% end %>
<!--留言--> <!--留言-->
<br>
<a remote="true" href="javascript:void(0)" class="blue_btn fr mr80" onclick="$('#issue-form').submit();"> <a remote="true" href="javascript:void(0)" class="blue_btn fr mr80" onclick="$('#issue-form').submit();">
<%= l(:button_submit) %> <%= l(:button_submit) %>
</a> </a>

@ -339,7 +339,8 @@ a:hover.st_add{ color:#ff8e15;}
padding-top: 2px; padding-top: 2px;
padding-bottom: 3px; padding-bottom: 3px;
} }
fieldset {border: 1px solid #e4e4e4; margin:0;}
legend {color: #484848;}
/* 新建问题 */ /* 新建问题 */
.label{ width:80px; text-align:right; font-size:14px; display:block; float:left;} .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;} .label02{ width:110px; text-align:right; font-size:14px; display:block; float:left;}
@ -481,52 +482,15 @@ p.percent {
} }
/*版本库tab*/ /*版本库tab*/
/*div.repos_explain {*/ .contextual {
/*word-wrap: normal;*/ float: right;
/*line-height: 8px;*/ white-space: nowrap;
/*font-size: 13px;*/ line-height: 1.4em;
/*background-color: #F8F8F8;*/ padding-left: 10px;
/*border: 1px solid #DDD;*/ padding-right: 10px;
/*overflow: auto;*/ padding-top: 5px;
/*border-radius: 3px;*/ font-size: 0.9em;
/*padding: 6px 10px;*/ }
/*font-family: Consolas,"Liberation Mono",Courier,monospace;*/
/*color: #333;*/ /*导出*/
/*}*/ a.atom { background: url(../images/feed.png) no-repeat 1px 50%; padding: 2px 0px 3px 16px; }
/*div.autoscroll {*/
/*overflow-x: visible;*/
/*padding: 1px;*/
/*margin-bottom: 1.2em;*/
/*}*/
/*div.revision-graph {*/
/*position: absolute;*/
/*min-width: 1px;*/
/*}*/
/*table.list {*/
/*border: medium none;*/
/*}*/
/*tr.entry {*/
/*border: 1px solid #F8F8F8;*/
/*}*/
/*tr.entry td {*/
/*white-space: nowrap;*/
/*}*/
/*tr.entry td.size {*/
/*text-align: right;*/
/*font-size: 90%;*/
/*}*/
/*table.list thead th {*/
/*border-width: medium medium 1px;*/
/*border-style: none none solid;*/
/*border-color: -moz-use-text-color -moz-use-text-color #999;*/
/*-moz-border-top-colors: none;*/
/*-moz-border-right-colors: none;*/
/*-moz-border-bottom-colors: none;*/
/*-moz-border-left-colors: none;*/
/*border-image: none;*/
/*font-size: 12px;*/
/*font-weight: 400;*/
/*padding: 0px 3px 3px;*/
/*text-transform: uppercase;*/
/*}*/

Loading…
Cancel
Save