Code formatting updated for repositories. [SCI-1269]

This commit is contained in:
Matej Zrimšek 2017-05-31 20:28:23 +02:00
parent f8258812ef
commit 9a7048cc7a
3 changed files with 26 additions and 24 deletions

View file

@ -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">&times;</span></button>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
<h4 class="modal-title"><%= t("repositories.index.modal_delete.title_html", name: @repository.name) %></h4>
</div>
<div class="modal-body">

View file

@ -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">&times;</span></button>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
<h4 class="modal-title"><%= t("repositories.index.modal_rename.title_html", name: @repository.name ) %></h4>
</div>
<div class="modal-body">

View file

@ -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? %>