mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-31 04:32:06 +08:00
Code formatting updated for repositories. [SCI-1269]
This commit is contained in:
parent
f8258812ef
commit
9a7048cc7a
3 changed files with 26 additions and 24 deletions
|
@ -2,7 +2,9 @@
|
|||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
<h4 class="modal-title"><%= t("repositories.index.modal_delete.title_html", name: @repository.name) %></h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
|
|
|
@ -1,14 +1,13 @@
|
|||
<div class="modal fade"
|
||||
id="rename-repo-modal"
|
||||
tabindex="-1"
|
||||
role="dialog">
|
||||
<div class="modal fade" id="rename-repo-modal" tabindex="-1" role="dialog">
|
||||
<%= bootstrap_form_for @repository,
|
||||
url: team_repository_path(id: @repository, format: :json),
|
||||
remote: true do |f| %>
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
<h4 class="modal-title"><%= t("repositories.index.modal_rename.title_html", name: @repository.name ) %></h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
<% provide(:head_title, t("repositories.index.head_title")) %>
|
||||
|
||||
<% if current_team %>
|
||||
<%= render partial: "repositories/breadcrumbs.html.erb", locals: { teams: @teams, current_team: current_team, type: @type } %>
|
||||
<%= render partial: "repositories/breadcrumbs.html.erb",
|
||||
locals: { teams: @teams, current_team: current_team, type: @type } %>
|
||||
|
||||
<!-- Nav tabs -->
|
||||
<% if @repositories.present? %>
|
||||
|
|
Loading…
Reference in a new issue