mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-11 01:44:34 +08:00
Merge pull request #1121 from mlorb/ml-sci-2244
Update buttons positions and wording throughout app [SCI-2244]
This commit is contained in:
commit
d2c0ae241e
82 changed files with 374 additions and 310 deletions
|
@ -109,10 +109,12 @@
|
||||||
html += 'data-edit-url="' + column.edit_url + '">';
|
html += 'data-edit-url="' + column.edit_url + '">';
|
||||||
html += '<span class="pull-left">' + column.name + '</span>';
|
html += '<span class="pull-left">' + column.name + '</span>';
|
||||||
html += '<span class="controlls pull-right">';
|
html += '<span class="controlls pull-right">';
|
||||||
html += '<span class="glyphicon glyphicon-trash" aria-hidden="true" ';
|
html += '<button class="btn btn-default" data-action="edit">';
|
||||||
html += 'data-action="destroy"></span> ';
|
html += '<span class="glyphicon glyphicon-pencil"></span> ';
|
||||||
html += '<button class="btn btn-primary" data-action="edit">';
|
html += '<%= I18n.t "libraries.repository_columns.index.edit_column" %></button> ';
|
||||||
html += '<%= I18n.t "libraries.repository_columns.index.edit_column" %>';
|
html += '<button class="btn btn-default" data-action="destroy">';
|
||||||
|
html += '<span class="glyphicon glyphicon-trash"></span> ';
|
||||||
|
html += '<%= I18n.t "libraries.repository_columns.index.delete_column" %>';
|
||||||
html += '</button></span></li>';
|
html += '</button></span></li>';
|
||||||
$(html).insertBefore('.repository-columns-body ul li:first')
|
$(html).insertBefore('.repository-columns-body ul li:first')
|
||||||
.promise()
|
.promise()
|
||||||
|
|
|
@ -137,8 +137,8 @@
|
||||||
html += 'placeholder="<%= I18n.t('assets.from_clipboard.file_name_placeholder') %>" aria-describedby="image-name">';
|
html += 'placeholder="<%= I18n.t('assets.from_clipboard.file_name_placeholder') %>" aria-describedby="image-name">';
|
||||||
html += '<span class="input-group-addon" id="image-name"></span></div>';
|
html += '<span class="input-group-addon" id="image-name"></span></div>';
|
||||||
html += '</div><div class="modal-footer">';
|
html += '</div><div class="modal-footer">';
|
||||||
html += '<button type="button" class="btn btn-primary" data-action="addImageFormClipboard"><%= I18n.t('assets.from_clipboard.add_image') %></button>';
|
html += '<button type="button" class="btn btn-default" data-dismiss="modal"><%= I18n.t('general.cancel') %></button>';
|
||||||
html += '<button type="button" class="btn btn-default" data-dismiss="modal"><%= I18n.t('general.cancel') %></button>'
|
html += '<button type="button" class="btn btn-success" data-action="addImageFormClipboard"><%= I18n.t('assets.from_clipboard.add_image') %></button>';
|
||||||
html += '</div></div></div></div><!-- /.modal -->';
|
html += '</div></div></div></div><!-- /.modal -->';
|
||||||
return $(html).appendTo($('body')).promise().done(function() {
|
return $(html).appendTo($('body')).promise().done(function() {
|
||||||
// display modal
|
// display modal
|
||||||
|
|
|
@ -75,10 +75,10 @@
|
||||||
for (var i = 0; i < notification_settings.length; i++ ) {
|
for (var i = 0; i < notification_settings.length; i++ ) {
|
||||||
var setting = $('[name="' + notification_settings[i] + '"]');
|
var setting = $('[name="' + notification_settings[i] + '"]');
|
||||||
var dependant = $('[name="' + notification_settings[i] + '_email"]');
|
var dependant = $('[name="' + notification_settings[i] + '_email"]');
|
||||||
dependant.checkboxpicker({ onActiveCls: 'btn-primary' });
|
dependant.checkboxpicker({ onActiveCls: 'btn-primary', offActiveCls: 'btn-primary' });
|
||||||
setting
|
setting
|
||||||
.checkboxpicker({
|
.checkboxpicker({
|
||||||
onActiveCls: 'btn-primary'
|
onActiveCls: 'btn-primary', offActiveCls: 'btn-primary'
|
||||||
}).change(function() {
|
}).change(function() {
|
||||||
if ( $(this).prop('checked') ) {
|
if ( $(this).prop('checked') ) {
|
||||||
enableDependant($('[name="' + $(this).attr('name') + '_email"]'));
|
enableDependant($('[name="' + $(this).attr('name') + '_email"]'));
|
||||||
|
@ -100,7 +100,7 @@
|
||||||
function setEmailSwitch(setting) {
|
function setEmailSwitch(setting) {
|
||||||
setting
|
setting
|
||||||
.checkboxpicker({
|
.checkboxpicker({
|
||||||
onActiveCls: 'btn-primary'
|
onActiveCls: 'btn-primary', offActiveCls: 'btn-primary'
|
||||||
});
|
});
|
||||||
if ( setting.attr('value') === 'true' ) {
|
if ( setting.attr('value') === 'true' ) {
|
||||||
setting.prop('checked', true);
|
setting.prop('checked', true);
|
||||||
|
@ -123,7 +123,7 @@
|
||||||
var system_message_notification = $('[name="system_message_notification"]');
|
var system_message_notification = $('[name="system_message_notification"]');
|
||||||
system_message_notification
|
system_message_notification
|
||||||
.checkboxpicker({
|
.checkboxpicker({
|
||||||
onActiveCls: 'btn-primary'
|
onActiveCls: 'btn-primary', offActiveCls: 'btn-primary'
|
||||||
});
|
});
|
||||||
system_message_notification.prop('checked', true);
|
system_message_notification.prop('checked', true);
|
||||||
system_message_notification.prop('disabled', true);
|
system_message_notification.prop('disabled', true);
|
||||||
|
@ -132,7 +132,7 @@
|
||||||
var system_message_notification_mail = $('[name="system_message_notification_email"]');
|
var system_message_notification_mail = $('[name="system_message_notification_email"]');
|
||||||
system_message_notification_mail
|
system_message_notification_mail
|
||||||
.checkboxpicker({
|
.checkboxpicker({
|
||||||
onActiveCls: 'btn-primary'
|
onActiveCls: 'btn-primary', offActiveCls: 'btn-primary'
|
||||||
});
|
});
|
||||||
system_message_notification_mail.prop(
|
system_message_notification_mail.prop(
|
||||||
'checked',
|
'checked',
|
||||||
|
|
|
@ -5,6 +5,14 @@
|
||||||
$color-group-hover: $brand-primary;
|
$color-group-hover: $brand-primary;
|
||||||
$color-module-hover: $brand-default;
|
$color-module-hover: $brand-default;
|
||||||
|
|
||||||
|
#new-project-modal, #edit-project-modal {
|
||||||
|
.btn-group label.btn-primary:not(.active) {
|
||||||
|
background-color: $color-white;
|
||||||
|
border-color: $color-silver;
|
||||||
|
color: $color-emperor;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* Canvas index page */
|
/* Canvas index page */
|
||||||
|
|
||||||
#canvas-container:not(.canvas-container-edit-mode) {
|
#canvas-container:not(.canvas-container-edit-mode) {
|
||||||
|
@ -430,6 +438,7 @@ li.module-hover {
|
||||||
|
|
||||||
.create-new-tag-btn {
|
.create-new-tag-btn {
|
||||||
margin-right: 15px;
|
margin-right: 15px;
|
||||||
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -116,17 +116,6 @@
|
||||||
width: 45px;
|
width: 45px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.notifications-dropdown-header {
|
|
||||||
background-color: $brand-primary;
|
|
||||||
color: $color-concrete;
|
|
||||||
font-weight: bold;
|
|
||||||
padding: 8px;
|
|
||||||
|
|
||||||
a {
|
|
||||||
color: $color-white;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.notifications-dropdown-footer {
|
.notifications-dropdown-footer {
|
||||||
background-color: $brand-primary-light;
|
background-color: $brand-primary-light;
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
|
@ -135,6 +124,18 @@
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.notifications-dropdown-header,
|
||||||
|
.team-switch-dropdown-header {
|
||||||
|
background-color: $brand-primary;
|
||||||
|
color: $color-concrete;
|
||||||
|
font-weight: bold;
|
||||||
|
padding: 8px;
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: $color-white;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.notification {
|
.notification {
|
||||||
padding-right: 8px;
|
padding-right: 8px;
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
|
@ -259,13 +260,13 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.glyphicon-ok-sign {
|
.glyphicon-ok-sign {
|
||||||
color: $brand-success;
|
color: $brand-primary;
|
||||||
margin-left: -10px;
|
margin-left: -10px;
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.team-name-item {
|
.team-name-item {
|
||||||
border-bottom: 1px solid $color-silver-chalice;
|
border-bottom: 1px solid $color-gainsboro;
|
||||||
padding-bottom: 8px;
|
padding-bottom: 8px;
|
||||||
padding-top: 5px;
|
padding-top: 5px;
|
||||||
}
|
}
|
||||||
|
@ -274,7 +275,7 @@
|
||||||
border-bottom: 0;
|
border-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-default {
|
.btn-default:not(.dropdown-toggle) {
|
||||||
margin-left: 15px;
|
margin-left: 15px;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
width: 300px;
|
width: 300px;
|
||||||
|
@ -285,13 +286,12 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.dropdown-menu {
|
.dropdown-menu {
|
||||||
|
border-radius: 0;
|
||||||
|
margin-top: 0;
|
||||||
|
padding-top: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.caret {
|
|
||||||
color: $color-white;
|
|
||||||
}
|
|
||||||
|
|
||||||
i {
|
i {
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,15 +17,6 @@
|
||||||
span {
|
span {
|
||||||
margin-top: -10px;
|
margin-top: -10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.glyphicon-trash {
|
|
||||||
color: $brand-danger;
|
|
||||||
margin-right: 10px;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -39,7 +30,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.custom-alert-info {
|
.custom-alert-info {
|
||||||
background-color: $brand-info;
|
background-color: $brand-danger-light;
|
||||||
|
margin: 10px 0;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -147,6 +147,10 @@ mark,.mark {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.align-right {
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
a[data-toggle="tooltip"] {
|
a[data-toggle="tooltip"] {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
border-bottom: 1px dashed $color-emperor;
|
border-bottom: 1px dashed $color-emperor;
|
||||||
|
@ -681,6 +685,10 @@ ul.double-line > li {
|
||||||
margin-top: 50px;
|
margin-top: 50px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.btn-more-activities {
|
||||||
|
margin-bottom: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
/** Activity list resembling Bootstrap wells */
|
/** Activity list resembling Bootstrap wells */
|
||||||
ul.content-activities {
|
ul.content-activities {
|
||||||
|
|
||||||
|
@ -1400,6 +1408,10 @@ textarea.textarea-sm {
|
||||||
border: 1px solid $color-alto;
|
border: 1px solid $color-alto;
|
||||||
padding: 10px 10px 10px 0;
|
padding: 10px 10px 10px 0;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
|
|
||||||
|
&.dropdown-header {
|
||||||
|
padding-left: 30px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[data-position] {
|
[data-position] {
|
||||||
|
|
|
@ -21,7 +21,6 @@ class MyModulesController < ApplicationController
|
||||||
samples repository archive)
|
samples repository archive)
|
||||||
before_action :check_manage_permissions,
|
before_action :check_manage_permissions,
|
||||||
only: %i(update destroy description due_date)
|
only: %i(update destroy description due_date)
|
||||||
before_action :check_view_info_permissions, only: :show
|
|
||||||
before_action :check_view_permissions, only:
|
before_action :check_view_permissions, only:
|
||||||
%i(show activities activities_tab protocols results samples samples_index
|
%i(show activities activities_tab protocols results samples samples_index
|
||||||
archive)
|
archive)
|
||||||
|
|
|
@ -23,11 +23,11 @@ module SearchHelper
|
||||||
if search_team != current_team
|
if search_team != current_team
|
||||||
link_to text,
|
link_to text,
|
||||||
path,
|
path,
|
||||||
class: 'btn btn-primary',
|
class: 'btn btn-success',
|
||||||
data: { confirm: t('users.settings.changed_team_in_search',
|
data: { confirm: t('users.settings.changed_team_in_search',
|
||||||
team: search_team.name) }
|
team: search_team.name) }
|
||||||
else
|
else
|
||||||
link_to text, path, class: 'btn btn-primary'
|
link_to text, path, class: 'btn btn-success'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -10,17 +10,17 @@
|
||||||
>
|
>
|
||||||
<%= bootstrap_form_tag url: canvas_experiment_url, method: "post" do |f| %>
|
<%= bootstrap_form_tag url: canvas_experiment_url, method: "post" do |f| %>
|
||||||
<div class="btn-group" role="group">
|
<div class="btn-group" role="group">
|
||||||
<%= f.submit class: "btn btn-primary", id: "canvas-save" do %>
|
|
||||||
<span class="visibile-xs"><%= t("experiments.canvas.edit.save_short") %></span>
|
|
||||||
<span class="hidden-xs"><%= t("experiments.canvas.edit.save") %></span>
|
|
||||||
<% end %>
|
|
||||||
<%= link_to canvas_experiment_path(@experiment), type: "button", class: "btn btn-default cancel-edit-canvas" do %>
|
<%= link_to canvas_experiment_path(@experiment), type: "button", class: "btn btn-default cancel-edit-canvas" do %>
|
||||||
<span class="hidden-xs"><%= t("experiments.canvas.edit.cancel") %></span>
|
<span class="hidden-xs"><%= t("experiments.canvas.edit.cancel") %></span>
|
||||||
<span class="glyphicon glyphicon-remove visible-xs" style="height: 16px;margin-top: 4px;"> </span>
|
<span class="glyphicon glyphicon-remove visible-xs" style="height: 16px;margin-top: 4px;"> </span>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
<%= f.submit class: "btn btn-success", id: "canvas-save" do %>
|
||||||
|
<span class="visibile-xs"><%= t("experiments.canvas.edit.save_short") %></span>
|
||||||
|
<span class="hidden-xs"><%= t("experiments.canvas.edit.save") %></span>
|
||||||
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
<% if can_manage_experiment?(@experiment) %>
|
<% if can_manage_experiment?(@experiment) %>
|
||||||
<%=link_to "", type: "button", class: "btn btn-default", id: "canvas-new-module" do %>
|
<%=link_to "", type: "button", class: "btn btn-primary", id: "canvas-new-module" do %>
|
||||||
<span class="hbtn-default">
|
<span class="hbtn-default">
|
||||||
<span class="glyphicon glyphicon-credit-card"></span>
|
<span class="glyphicon glyphicon-credit-card"></span>
|
||||||
<%= t("experiments.canvas.edit.new_module") %>
|
<%= t("experiments.canvas.edit.new_module") %>
|
||||||
|
|
|
@ -10,8 +10,10 @@
|
||||||
<span id="delete-message"></span>
|
<span id="delete-message"></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="button" class="btn btn-primary" data-dismiss="modal" data-action="confirm"><%=t "experiments.canvas.edit.modal_delete_module.confirm" %></button>
|
|
||||||
<button type="button" class="btn btn-default" data-dismiss="modal"><%=t "general.cancel" %></button>
|
<button type="button" class="btn btn-default" data-dismiss="modal"><%=t "general.cancel" %></button>
|
||||||
|
<button type="button" class="btn btn-danger" data-dismiss="modal" data-action="confirm">
|
||||||
|
<%=t "experiments.canvas.edit.modal_delete_module.confirm" %>
|
||||||
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -10,8 +10,10 @@
|
||||||
<span id="delete-message"></span>
|
<span id="delete-message"></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="button" class="btn btn-primary" data-dismiss="modal" data-action="confirm"><%=t "experiments.canvas.edit.modal_delete_module_group.confirm" %></button>
|
|
||||||
<button type="button" class="btn btn-default" data-dismiss="modal"><%=t "general.cancel" %></button>
|
<button type="button" class="btn btn-default" data-dismiss="modal"><%=t "general.cancel" %></button>
|
||||||
|
<button type="button" class="btn btn-danger" data-dismiss="modal" data-action="confirm">
|
||||||
|
<%=t "experiments.canvas.edit.modal_delete_module_group.confirm" %>
|
||||||
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -11,8 +11,8 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="button" class="btn btn-primary" data-action="confirm"><%=t "experiments.canvas.edit.modal_edit_module.confirm" %></button>
|
|
||||||
<button type="button" class="btn btn-default" data-dismiss="modal"><%=t "general.cancel" %></button>
|
<button type="button" class="btn btn-default" data-dismiss="modal"><%=t "general.cancel" %></button>
|
||||||
|
<button type="button" class="btn btn-success" data-action="confirm"><%=t "experiments.canvas.edit.modal_edit_module.confirm" %></button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -23,10 +23,12 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<% if experiments.count > 1 %>
|
<button type="button" class="btn btn-default" data-dismiss="modal"><%=t "general.cancel" %></button>
|
||||||
<button type="button" class="btn btn-primary" data-action="confirm"><%=t "experiments.canvas.edit.modal_move_module.confirm" %></button>
|
<% if experiments.count > 1 %>
|
||||||
<% end %>
|
<button type="button" class="btn btn-success" data-action="confirm">
|
||||||
<button type="button" class="btn btn-default" data-dismiss="modal"><%=t "general.cancel" %></button>
|
<%=t "experiments.canvas.edit.modal_move_module.confirm" %>
|
||||||
|
</button>
|
||||||
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -24,9 +24,11 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<% if experiments.count > 1 %>
|
<% if experiments.count > 1 %>
|
||||||
<button type="button" class="btn btn-primary" data-action="confirm"><%=t "experiments.canvas.edit.modal_move_module_group.confirm" %></button>
|
<button type="button" class="btn btn-default" data-dismiss="modal"><%=t "general.cancel" %></button>
|
||||||
|
<button type="button" class="btn btn-success" data-action="confirm">
|
||||||
|
<%=t "experiments.canvas.edit.modal_move_module_group.confirm" %>
|
||||||
|
</button>
|
||||||
<% end %>
|
<% end %>
|
||||||
<button type="button" class="btn btn-default" data-dismiss="modal"><%=t "general.cancel" %></button>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -11,8 +11,8 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="button" class="btn btn-primary" data-dismiss="modal" data-action="confirm"><%=t "experiments.canvas.edit.modal_new_module.confirm" %></button>
|
|
||||||
<button type="button" class="btn btn-default" data-dismiss="modal"><%=t "general.cancel" %></button>
|
<button type="button" class="btn btn-default" data-dismiss="modal"><%=t "general.cancel" %></button>
|
||||||
|
<button type="button" class="btn btn-success" data-dismiss="modal" data-action="confirm"><%=t "experiments.canvas.edit.modal_new_module.confirm" %></button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -26,8 +26,8 @@
|
||||||
{}, {class: "form-control selectpicker", "data-role" => "clear"} %>
|
{}, {class: "form-control selectpicker", "data-role" => "clear"} %>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<%= f.submit t("experiments.clone.modal_submit"), class: "btn btn-primary" %>
|
|
||||||
<button type="button" class="btn btn-default" data-dismiss="modal"><%=t "general.cancel" %></button>
|
<button type="button" class="btn btn-default" data-dismiss="modal"><%=t "general.cancel" %></button>
|
||||||
|
<%= f.submit t("experiments.clone.modal_submit"), class: "btn btn-success" %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
<%= render partial: "form.html.erb", locals: { form: f } %>
|
<%= render partial: "form.html.erb", locals: { form: f } %>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<%= f.submit t("experiments.edit.modal_create"), class: "btn btn-primary" %>
|
|
||||||
<button type="button" class="btn btn-default" data-dismiss="modal"><%=t "general.cancel" %></button>
|
<button type="button" class="btn btn-default" data-dismiss="modal"><%=t "general.cancel" %></button>
|
||||||
|
<%= f.submit t("experiments.edit.modal_create"), class: "btn btn-success" %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -27,10 +27,10 @@
|
||||||
<%= t("experiments.move.notice") %>
|
<%= t("experiments.move.notice") %>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<% if !@projects.blank? %>
|
|
||||||
<%= f.submit t("experiments.move.modal_submit"), class: "btn btn-primary" %>
|
|
||||||
<% end %>
|
|
||||||
<button type="button" class="btn btn-default" data-dismiss="modal"><%=t "general.cancel" %></button>
|
<button type="button" class="btn btn-default" data-dismiss="modal"><%=t "general.cancel" %></button>
|
||||||
|
<% if !@projects.blank? %>
|
||||||
|
<%= f.submit t("experiments.move.modal_submit"), class: "btn btn-success" %>
|
||||||
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -11,8 +11,8 @@
|
||||||
<%= render partial: "form.html.erb", locals: { form: f } %>
|
<%= render partial: "form.html.erb", locals: { form: f } %>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<%= f.submit t("experiments.new.modal_create"), class: "btn btn-primary" %>
|
|
||||||
<button type="button" class="btn btn-default" data-dismiss="modal"><%=t "general.cancel" %></button>
|
<button type="button" class="btn btn-default" data-dismiss="modal"><%=t "general.cancel" %></button>
|
||||||
|
<%= f.submit t("experiments.new.modal_create"), class: "btn btn-success" %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -62,7 +62,6 @@
|
||||||
{},
|
{},
|
||||||
{ class: 'selectpicker' }) %>
|
{ class: 'selectpicker' }) %>
|
||||||
<%= f.button class: 'btn btn-primary' do %>
|
<%= f.button class: 'btn btn-primary' do %>
|
||||||
<span class="glyphicon glyphicon-plus"></span>
|
|
||||||
<span class="hidden-xs"><%= t("experiments.canvas.modal_manage_tags.create") %></span>
|
<span class="hidden-xs"><%= t("experiments.canvas.modal_manage_tags.create") %></span>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
@ -75,7 +74,7 @@
|
||||||
<%= f.hidden_field :name, :value => t("tags.create.new_name") %>
|
<%= f.hidden_field :name, :value => t("tags.create.new_name") %>
|
||||||
<%= f.hidden_field :color, :value => Constants::TAG_COLORS[0] %>
|
<%= f.hidden_field :color, :value => Constants::TAG_COLORS[0] %>
|
||||||
<%= f.button class: "btn btn-primary" do %>
|
<%= f.button class: "btn btn-primary" do %>
|
||||||
<span class="glyphicon glyphicon-tag"></span>
|
<span class="glyphicon glyphicon-plus"></span>
|
||||||
<span class="hidden-xs"><%=t "experiments.canvas.modal_manage_tags.create_new" %></span>
|
<span class="hidden-xs"><%=t "experiments.canvas.modal_manage_tags.create_new" %></span>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
@ -16,12 +16,12 @@
|
||||||
<p><%=t 'my_modules.complete_modal.description' %></p>
|
<p><%=t 'my_modules.complete_modal.description' %></p>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="button"
|
|
||||||
class="btn btn-primary"
|
|
||||||
data-action="complete"><%=t 'my_modules.buttons.complete' %></button>
|
|
||||||
<button type="button"
|
<button type="button"
|
||||||
class="btn btn-default"
|
class="btn btn-default"
|
||||||
data-dismiss="modal"><%=t 'my_modules.complete_modal.leave_uncompleted' %></button>
|
data-dismiss="modal"><%=t 'my_modules.complete_modal.leave_uncompleted' %></button>
|
||||||
|
<button type="button"
|
||||||
|
class="btn btn-success"
|
||||||
|
data-action="complete"><%=t 'my_modules.buttons.complete' %></button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<button class="btn btn-primary">
|
<button class="btn btn-success">
|
||||||
<span class="glyphicon glyphicon-ok"></span>
|
<span class="glyphicon glyphicon-ok"></span>
|
||||||
<%= t("my_modules.buttons.complete") %>
|
<%= t("my_modules.buttons.complete") %>
|
||||||
</button>
|
</button>
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
<!-- Load more activities -->
|
<!-- Load more activities -->
|
||||||
<% if @overflown %>
|
<% if @overflown %>
|
||||||
<div class="col-sm-8 fluid-content text-center">
|
<div class="col-sm-8 fluid-content text-center">
|
||||||
<a class="btn btn-primary btn-more-activities" href="<%= @more_activities_url %>" data-remote="true">
|
<a class="btn btn-default btn-more-activities" href="<%= @more_activities_url %>" data-remote="true">
|
||||||
<%= t('my_modules.activities.more_activities') %></a>
|
<%= t('my_modules.activities.more_activities') %></a>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
@ -7,9 +7,9 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body"></div>
|
<div class="modal-body"></div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="button" class="btn btn-primary" data-action="submit"><%=t "general.update" %></button>
|
|
||||||
<button type="button" class="btn btn-default" data-dismiss="modal"><%=t "general.cancel" %></button>
|
<button type="button" class="btn btn-default" data-dismiss="modal"><%=t "general.cancel" %></button>
|
||||||
|
<button type="button" class="btn btn-success" data-action="submit"><%=t "general.save" %></button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -7,9 +7,9 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body"></div>
|
<div class="modal-body"></div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="button" class="btn btn-primary" data-action="submit"><%=t "general.update" %></button>
|
|
||||||
<button type="button" class="btn btn-default" data-dismiss="modal"><%=t "general.cancel" %></button>
|
<button type="button" class="btn btn-default" data-dismiss="modal"><%=t "general.cancel" %></button>
|
||||||
|
<button type="button" class="btn btn-success" data-action="submit"><%=t "general.save" %></button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -7,9 +7,9 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body"></div>
|
<div class="modal-body"></div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="button" class="btn btn-primary" data-action="submit"></button>
|
|
||||||
<button type="button" class="btn btn-default" data-dismiss="modal"><%= t("general.cancel") %></button>
|
<button type="button" class="btn btn-default" data-dismiss="modal"><%= t("general.cancel") %></button>
|
||||||
|
<button type="button" class="btn btn-success" data-action="submit"></button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -9,9 +9,9 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body"></div>
|
<div class="modal-body"></div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="button" class="btn btn-primary" data-action="submit"><%= t("my_modules.protocols.copy_to_repository_modal.confirm") %></button>
|
|
||||||
<button type="button" class="btn btn-default" data-dismiss="modal"><%= t("general.cancel") %></button>
|
<button type="button" class="btn btn-default" data-dismiss="modal"><%= t("general.cancel") %></button>
|
||||||
|
<button type="button" class="btn btn-success" data-action="submit"><%= t("my_modules.protocols.copy_to_repository_modal.confirm") %></button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -9,9 +9,9 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body"></div>
|
<div class="modal-body"></div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="button" class="btn btn-primary" data-action="submit"><%= t("my_modules.protocols.load_from_repository_modal.load") %></button>
|
|
||||||
<button type="button" class="btn btn-default" data-dismiss="modal"><%= t("general.cancel") %></button>
|
<button type="button" class="btn btn-default" data-dismiss="modal"><%= t("general.cancel") %></button>
|
||||||
|
<button type="button" class="btn btn-success" data-action="submit"><%= t("my_modules.protocols.load_from_repository_modal.load") %></button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
<div class="btn-group" role="group" aria-label="" style="margin-left: 15px;">
|
<div class="btn-group" role="group" aria-label="" style="margin-left: 15px;">
|
||||||
<div class="btn-group">
|
<div class="btn-group">
|
||||||
<a class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" href="#"><span class="glyphicon glyphicon-import"></span><span class="hidden-xs-custom"> <%= t("my_modules.protocols.buttons.load_protocol") %></span></a>
|
<a class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" href="#">
|
||||||
|
<span class="glyphicon glyphicon-import"></span>
|
||||||
|
<span class="hidden-xs-custom"> <%= t("my_modules.protocols.buttons.load_protocol") %></span>
|
||||||
|
</a>
|
||||||
<ul class="dropdown-menu">
|
<ul class="dropdown-menu">
|
||||||
<% if can_manage_protocol_in_module?(@protocol) %>
|
<% if can_manage_protocol_in_module?(@protocol) %>
|
||||||
<li>
|
<li>
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
<%= render partial: "new.html.erb", locals: { form: f, teams: @teams } %>
|
<%= render partial: "new.html.erb", locals: { form: f, teams: @teams } %>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<%= f.submit t("projects.index.modal_new_project.create"), class: "btn btn-primary" %>
|
|
||||||
<button type="button" class="btn btn-default" data-dismiss="modal"><%=t "general.cancel" %></button>
|
<button type="button" class="btn btn-default" data-dismiss="modal"><%=t "general.cancel" %></button>
|
||||||
|
<%= f.submit t("projects.index.modal_new_project.create"), class: "btn btn-success" %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -35,8 +35,8 @@
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="button" class="btn btn-primary" data-action="submit"><%=t "projects.index.modal_edit_project.submit" %></button>
|
|
||||||
<button type="button" class="btn btn-default" data-dismiss="modal"><%=t "general.cancel" %></button>
|
<button type="button" class="btn btn-default" data-dismiss="modal"><%=t "general.cancel" %></button>
|
||||||
|
<button type="button" class="btn btn-success" data-action="submit"><%=t "projects.index.modal_edit_project.submit" %></button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -64,6 +64,7 @@
|
||||||
<!-- project archive button -->
|
<!-- project archive button -->
|
||||||
<a class="btn btn-default pull-right" href="<%= url_for projects_archive_path %>" id="project-archive-btn" data-turbolinks="false" title="<%= t'projects.index.archive' %>">
|
<a class="btn btn-default pull-right" href="<%= url_for projects_archive_path %>" id="project-archive-btn" data-turbolinks="false" title="<%= t'projects.index.archive' %>">
|
||||||
<span class="glyphicon glyphicon-briefcase" aria-hidden="true"></span>
|
<span class="glyphicon glyphicon-briefcase" aria-hidden="true"></span>
|
||||||
|
<span class="hidden-xs"><%=t "projects.index.archive" %></span>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<% if @teams.length > 0 && can_create_projects?(current_team) %>
|
<% if @teams.length > 0 && can_create_projects?(current_team) %>
|
||||||
|
|
|
@ -7,9 +7,9 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body"></div>
|
<div class="modal-body"></div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="button" class="btn btn-primary" data-action="submit"><%=t "general.update" %></button>
|
|
||||||
<button type="button" class="btn btn-default" data-dismiss="modal"><%=t "general.cancel" %></button>
|
<button type="button" class="btn btn-default" data-dismiss="modal"><%=t "general.cancel" %></button>
|
||||||
|
<button type="button" class="btn btn-success" data-action="submit"><%=t "general.save" %></button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -24,8 +24,7 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="button" class="btn btn-default" data-dismiss="modal"><%= t('general.cancel')%></button>
|
<button type="button" class="btn btn-default" data-dismiss="modal"><%= t('general.cancel')%></button>
|
||||||
<%= submit_tag t('protocols.index.modal_import_json_upload'), class: "btn
|
<%= submit_tag t('protocols.index.modal_import_json_upload'), class: "btn btn-success", id: "pio_submit_btn_id" %>
|
||||||
btn-primary", id: "pio_submit_btn_id" %>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -86,8 +86,7 @@
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="button" class="btn btn-default" data-dismiss="modal"><%= t('general.cancel') %></button>
|
<button type="button" class="btn btn-default" data-dismiss="modal"><%= t('general.cancel') %></button>
|
||||||
|
|
||||||
<%= f.submit t('protocols.import_export.import_modal.import'),class: "btn
|
<%= f.submit t('protocols.import_export.import_modal.import'),class: "btn btn-success" %>
|
||||||
btn-primary" %>
|
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -64,21 +64,21 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="btn-group" role="group">
|
<div class="btn-group" role="group">
|
||||||
<div data-role="import-all">
|
<div data-role="import-all">
|
||||||
<button type="submit" class="btn btn-primary" data-action="import-current"><%= t("protocols.import_export.import_modal.import_current") %></button>
|
<button type="submit" class="btn btn-success" data-action="import-current"><%= t("protocols.import_export.import_modal.import_current") %></button>
|
||||||
<button type="submit" class="btn btn-default" data-action="import-all"><%= t("protocols.import_export.import_modal.import_all") %></button>
|
<button type="submit" class="btn btn-success" data-action="import-all"><%= t("protocols.import_export.import_modal.import_all") %></button>
|
||||||
</div>
|
</div>
|
||||||
<div data-role="import-single">
|
<div data-role="import-single">
|
||||||
<button type="submit" class="btn btn-primary" data-action="import-current"><%= t("protocols.import_export.import_modal.import") %></button>
|
<button type="submit" class="btn btn-success" data-action="import-current"><%= t("protocols.import_export.import_modal.import") %></button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div data-role="single-protocol-buttons">
|
<div data-role="single-protocol-buttons">
|
||||||
<button type="button" class="btn btn-default" data-dismiss="modal"><%= t("general.cancel") %></button>
|
<button type="button" class="btn btn-default" data-dismiss="modal"><%= t("general.cancel") %></button>
|
||||||
<div class="btn-group" role="group">
|
<div class="btn-group" role="group">
|
||||||
<button type="submit" class="btn btn-primary" data-action="import-current"><%= t("protocols.import_export.import_modal.import") %></button>
|
<button type="submit" class="btn btn-success" data-action="import-current"><%= t("protocols.import_export.import_modal.import") %></button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
<%= t(@type == :public ? "protocols.index.public_description" : "protocols.index.private_description") %>
|
<%= t(@type == :public ? "protocols.index.public_description" : "protocols.index.private_description") %>
|
||||||
</div>
|
</div>
|
||||||
<div class="btn-group" role="group">
|
<div class="btn-group" role="group">
|
||||||
<a class="btn btn-default" <%= can_create_protocols_in_repository?(@current_team) ? "data-action=create-new" : "disabled=disabled" %> data-url="<%= create_new_modal_protocols_path(team: @current_team, type: @type) %>">
|
<a class="btn btn-primary" <%= can_create_protocols_in_repository?(@current_team) ? "data-action=create-new" : "disabled=disabled" %> data-url="<%= create_new_modal_protocols_path(team: @current_team, type: @type) %>">
|
||||||
<span class="glyphicon glyphicon-plus"></span>
|
<span class="glyphicon glyphicon-plus"></span>
|
||||||
<span class="hidden-xs"> <%= t("protocols.index.create_new") %></span>
|
<span class="hidden-xs"> <%= t("protocols.index.create_new") %></span>
|
||||||
</a>
|
</a>
|
||||||
|
@ -41,7 +41,7 @@
|
||||||
<span class="hidden-xs"> <%= t("protocols.index.make_private") %></span>
|
<span class="hidden-xs"> <%= t("protocols.index.make_private") %></span>
|
||||||
</a>
|
</a>
|
||||||
<% elsif @type == :private %>
|
<% elsif @type == :private %>
|
||||||
<a class="btn btn-primary" data-action="publish" data-url="<%= publish_protocols_path %>">
|
<a class="btn btn-default" data-action="publish" data-url="<%= publish_protocols_path %>">
|
||||||
<span class="glyphicon glyphicon-open"></span>
|
<span class="glyphicon glyphicon-open"></span>
|
||||||
<span class="hidden-xs"> <%= t("protocols.index.publish") %></span>
|
<span class="hidden-xs"> <%= t("protocols.index.publish") %></span>
|
||||||
</a>
|
</a>
|
||||||
|
@ -54,7 +54,7 @@
|
||||||
aria-expanded="false"
|
aria-expanded="false"
|
||||||
href="#"
|
href="#"
|
||||||
<%= 'disabled' unless can_create_protocols_in_repository?(@current_team) %>>
|
<%= 'disabled' unless can_create_protocols_in_repository?(@current_team) %>>
|
||||||
<span class="glyphicon glyphicon-import"></span><span class="hidden-xs"> <%= "Import protocol" %></span></a>
|
<span class="glyphicon glyphicon-import"></span><span class="hidden-xs"> <%= t("protocols.index.import") %></span></a>
|
||||||
<% if can_create_protocols_in_repository?(@current_team) %>
|
<% if can_create_protocols_in_repository?(@current_team) %>
|
||||||
<ul class="dropdown-menu">
|
<ul class="dropdown-menu">
|
||||||
<li>
|
<li>
|
||||||
|
@ -83,7 +83,7 @@
|
||||||
|
|
||||||
<div class="btn-group" role="group">
|
<div class="btn-group" role="group">
|
||||||
<a class="btn btn-default" data-action="archive" data-url="<%= archive_protocols_path %>">
|
<a class="btn btn-default" data-action="archive" data-url="<%= archive_protocols_path %>">
|
||||||
<span class="glyphicon glyphicon-trash"></span>
|
<span class="glyphicon glyphicon-briefcase"></span>
|
||||||
<span class="hidden-xs"> <%= t("protocols.index.archive_action") %></span>
|
<span class="hidden-xs"> <%= t("protocols.index.archive_action") %></span>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -11,9 +11,9 @@
|
||||||
<%= t("protocols.index.confirm_archive.message") %>
|
<%= t("protocols.index.confirm_archive.message") %>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="button" class="btn btn-primary" data-action="submit"><%= t("protocols.index.confirm_archive.confirm") %></button>
|
|
||||||
<button type="button" class="btn btn-default" data-dismiss="modal"><%= t("general.cancel") %></button>
|
<button type="button" class="btn btn-default" data-dismiss="modal"><%= t("general.cancel") %></button>
|
||||||
|
<button type="button" class="btn btn-danger" data-action="submit"><%= t("protocols.index.confirm_archive.confirm") %></button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -9,9 +9,9 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body"></div>
|
<div class="modal-body"></div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="button" class="btn btn-primary" data-action="submit"><%= t("protocols.index.create.submit") %></button>
|
|
||||||
<button type="button" class="btn btn-default" data-dismiss="modal"><%= t("general.cancel") %></button>
|
<button type="button" class="btn btn-default" data-dismiss="modal"><%= t("general.cancel") %></button>
|
||||||
|
<button type="button" class="btn btn-success" data-action="submit"><%= t("protocols.index.create.submit") %></button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -59,8 +59,8 @@
|
||||||
<%=t "projects.reports.index.modal_delete.message" %>
|
<%=t "projects.reports.index.modal_delete.message" %>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<%= f.button t("projects.reports.index.modal_delete.delete"), class: "btn btn-primary", id: "confirm-delete-reports-btn", name: nil %>
|
|
||||||
<button type="button" class="btn btn-default" data-dismiss="modal"><%=t "general.cancel" %></button>
|
<button type="button" class="btn btn-default" data-dismiss="modal"><%=t "general.cancel" %></button>
|
||||||
|
<%= f.button t("projects.reports.index.modal_delete.delete"), class: "btn btn-danger", id: "confirm-delete-reports-btn", name: nil %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -77,7 +77,6 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<p><%=t "projects.reports.index.modal_new.message" %></p>
|
<p><%=t "projects.reports.index.modal_new.message" %></p>
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label><%=t "projects.reports.index.modal_new.projects" %></label>
|
<label><%=t "projects.reports.index.modal_new.projects" %></label>
|
||||||
<% if @visible_projects&.length > 0 %>
|
<% if @visible_projects&.length > 0 %>
|
||||||
|
@ -89,15 +88,15 @@
|
||||||
<% else %>
|
<% else %>
|
||||||
<p><%=t 'projects.reports.index.modal_new.no_projects' %></p>
|
<p><%=t 'projects.reports.index.modal_new.no_projects' %></p>
|
||||||
<% end %>
|
<% end %>
|
||||||
</end>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
|
<button type="button" class="btn btn-default" data-dismiss="modal"><%=t "general.cancel" %></button>
|
||||||
<button id="new-report-reports-btn"
|
<button id="new-report-reports-btn"
|
||||||
class="btn btn-primary"
|
class="btn btn-success"
|
||||||
data-new-report-path="<%= @visible_projects.first.path if @visible_projects.first %>"
|
data-new-report-path="<%= @visible_projects.first.path if @visible_projects.first %>"
|
||||||
<%= 'disabled' unless @visible_projects&.length > 0 %>
|
<%= 'disabled' unless @visible_projects&.length > 0 %>
|
||||||
><%=t 'projects.reports.index.modal_new.create' %></button>
|
><%=t 'projects.reports.index.modal_new.create' %></button>
|
||||||
<button type="button" class="btn btn-default" data-dismiss="modal"><%=t "general.cancel" %></button>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -47,8 +47,8 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body"></div>
|
<div class="modal-body"></div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="button" data-action="add" class="btn btn-primary"><%=t "projects.reports.elements.modals.add" %></button>
|
|
||||||
<button type="button" class="btn btn-default" data-dismiss="modal"><%=t "general.cancel" %></button>
|
<button type="button" class="btn btn-default" data-dismiss="modal"><%=t "general.cancel" %></button>
|
||||||
|
<button type="button" data-action="add" class="btn btn-success"><%=t "projects.reports.elements.modals.add" %></button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -64,8 +64,8 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body"></div>
|
<div class="modal-body"></div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="button" data-action="save" class="btn btn-primary"><%=t "projects.reports.elements.modals.save_report.save" %></button>
|
|
||||||
<button type="button" class="btn btn-default" data-dismiss="modal"><%=t "general.cancel" %></button>
|
<button type="button" class="btn btn-default" data-dismiss="modal"><%=t "general.cancel" %></button>
|
||||||
|
<button type="button" data-action="save" class="btn btn-success"><%=t "projects.reports.elements.modals.save_report.save" %></button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -13,25 +13,28 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<%= link_to "", class: "btn btn-primary", remote: true, id: "print-report" do %>
|
<%= link_to "", class: "btn btn-default", remote: true, id: "print-report" do %>
|
||||||
|
<span class="glyphicon glyphicon-print"></span>
|
||||||
<span class="hidden-xs"><%=t "projects.reports.new.nav_print" %></span>
|
<span class="hidden-xs"><%=t "projects.reports.new.nav_print" %></span>
|
||||||
<% end %>
|
<% end %>
|
||||||
<%= form_tag generate_project_reports_path(@project, format: :pdf), method: :post, target: "_blank", class: "get-report-pdf-form" do %>
|
<%= form_tag generate_project_reports_path(@project, format: :pdf), method: :post, target: "_blank", class: "get-report-pdf-form" do %>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<%= hidden_field_tag "html", "" %>
|
<%= hidden_field_tag "html", "" %>
|
||||||
<%= link_to "", class: "btn btn-primary", remote: true, id: "get-report-pdf" do %>
|
<%= link_to "", class: "btn btn-default", remote: true, id: "get-report-pdf" do %>
|
||||||
|
<span class="glyphicon glyphicon-save-file"></span>
|
||||||
<span class="hidden-xs"><%=t "projects.reports.new.nav_pdf" %></span>
|
<span class="hidden-xs"><%=t "projects.reports.new.nav_pdf" %></span>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<%= link_to "", class: "btn btn-primary", remote: true, id: "save-report-link" do %>
|
<div class="pull-right">
|
||||||
<span class="hidden-xs"><%=t "projects.reports.new.nav_save" %></span>
|
<%= link_to reports_path, data: { no_turbolink: false }, id: "cancel-report-link", class: "btn btn-default" do %>
|
||||||
<% end %>
|
<span class="hidden-xs"><%=t "projects.reports.new.nav_close" %></span>
|
||||||
|
<% end %>
|
||||||
<%= link_to reports_path, data: { no_turbolink: false }, id: "cancel-report-link", class: "btn btn-default pull-right" do %>
|
<%= link_to "", class: "btn btn-success", remote: true, id: "save-report-link" do %>
|
||||||
<span class="hidden-xs"><%=t "projects.reports.new.nav_close" %></span>
|
<span class="hidden-xs"><%=t "projects.reports.new.nav_save" %></span>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
<div id="repository-columns-dropdown" class="dropdown">
|
<div id="repository-columns-dropdown" class="dropdown">
|
||||||
<button class="btn btn-default dropdown-toggle" type="button" data-toggle="dropdown">
|
<button class="btn btn-default dropdown-toggle" type="button" data-toggle="dropdown">
|
||||||
<span class="glyphicon glyphicon-eye-open"></span>
|
<span class="glyphicon glyphicon-eye-open"></span>
|
||||||
|
<span class="hidden-xs"><%= t('repositories.index.visibility') %></span>
|
||||||
</button>
|
</button>
|
||||||
<ul class="dropdown-menu dropdown-menu-right smart-dropdown" id="repository-columns-list">
|
<ul class="dropdown-menu dropdown-menu-right smart-dropdown" id="repository-columns-list">
|
||||||
<li class="repository-columns-list-template hide">
|
<li class="repository-columns-list-template hide">
|
||||||
|
|
|
@ -24,8 +24,8 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<%= f.submit t("repositories.index.modal_copy.copy"), class: "btn btn-primary" %>
|
|
||||||
<button type="button" class="btn btn-default" data-dismiss="modal"><%=t "general.cancel" %></button>
|
<button type="button" class="btn btn-default" data-dismiss="modal"><%=t "general.cancel" %></button>
|
||||||
|
<%= f.submit t("repositories.index.modal_copy.copy"), class: "btn btn-success" %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
placeholder: t("repositories.index.modal_create.name_placeholder") %>
|
placeholder: t("repositories.index.modal_create.name_placeholder") %>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<%= f.submit t("repositories.index.modal_create.submit"), class: "btn btn-primary" %>
|
|
||||||
<button type="button" class="btn btn-default" data-dismiss="modal"><%= t("general.cancel") %></button>
|
<button type="button" class="btn btn-default" data-dismiss="modal"><%= t("general.cancel") %></button>
|
||||||
|
<%= f.submit t("repositories.index.modal_create.submit"), class: "btn btn-success" %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -9,10 +9,10 @@
|
||||||
<%= t("repositories.modal_delete_record.notice") %>
|
<%= t("repositories.modal_delete_record.notice") %>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="button" class="btn btn-primary" data-dismiss="modal" onclick="onClickDeleteRecord();">
|
<button type="button" class="btn btn-default" data-dismiss="modal"><%= t("general.cancel")%></button>
|
||||||
|
<button type="button" class="btn btn-danger" data-dismiss="modal" onclick="onClickDeleteRecord();">
|
||||||
<%= t("repositories.modal_delete_record.delete") %>
|
<%= t("repositories.modal_delete_record.delete") %>
|
||||||
</button>
|
</button>
|
||||||
<button type="button" class="btn btn-default" data-dismiss="modal"><%= t("general.cancel")%></button>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -20,13 +20,13 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
|
<button type="button" class="btn btn-default" data-dismiss="modal"><%= t("general.cancel")%></button>
|
||||||
<%= link_to t('repositories.index.modal_delete.delete'),
|
<%= link_to t('repositories.index.modal_delete.delete'),
|
||||||
team_repository_path(id: @repository),
|
team_repository_path(id: @repository),
|
||||||
id: "confirm-repo-delete",
|
id: "confirm-repo-delete",
|
||||||
method: :delete,
|
method: :delete,
|
||||||
type: 'button',
|
type: 'button',
|
||||||
class: 'btn btn-primary' %>
|
class: 'btn btn-danger' %>
|
||||||
<button type="button" class="btn btn-default" data-dismiss="modal"><%= t("general.cancel")%></button>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -17,8 +17,8 @@
|
||||||
<div><%=t 'zip_export.repository_footer_html' %></div>
|
<div><%=t 'zip_export.repository_footer_html' %></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type='button' class='btn btn-primary' data-dismiss='modal' id='export-repositories'> <%=t 'my_modules.repository.export' %> </button>
|
<button type='button' class='btn btn-default' data-dismiss='modal' id='close-modal-export-repositories'><%= t('general.cancel')%></button>
|
||||||
<button type='button' class='btn btn-default' data-dismiss='modal' id='close-modal-export-repositories'><%= t('general.close')%></button>
|
<button type='button' class='btn btn-success' data-dismiss='modal' id='export-repositories'> <%=t 'my_modules.repository.export' %> </button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="button" class="btn btn-default" data-dismiss="modal" onClick="pageReload()"><%= t('general.cancel')%></button>
|
<button type="button" class="btn btn-default" data-dismiss="modal" onClick="pageReload()"><%= t('general.cancel')%></button>
|
||||||
<input type="submit" class="btn btn-primary" value="<%= t("repositories.modal_import.upload") %>">
|
<input type="submit" class="btn btn-success" value="<%= t("repositories.modal_import.upload") %>">
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -71,7 +71,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="button" class="btn btn-default" data-dismiss="modal" onClick="pageReload()"><%= t('general.cancel')%></button>
|
<button type="button" class="btn btn-default" data-dismiss="modal" onClick="pageReload()"><%= t('general.cancel')%></button>
|
||||||
<input type="submit" class="btn btn-primary" value="<%= t('repositories.modal_parse.title') %>">
|
<input type="submit" class="btn btn-success" value="<%= t('repositories.modal_parse.import') %>">
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -23,8 +23,8 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<%= f.submit t("repositories.index.modal_rename.rename"), class: "btn btn-primary" %>
|
|
||||||
<button type="button" class="btn btn-default" data-dismiss="modal"><%=t "general.cancel" %></button>
|
<button type="button" class="btn btn-default" data-dismiss="modal"><%=t "general.cancel" %></button>
|
||||||
|
<%= f.submit t("repositories.index.modal_rename.rename"), class: "btn btn-success" %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -82,7 +82,7 @@
|
||||||
</div>
|
</div>
|
||||||
<script>window.initPreviewModal()</script>
|
<script>window.initPreviewModal()</script>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="button" class="btn btn-primary" data-dismiss="modal"><%= t("general.close")%></button>
|
<button type="button" class="btn btn-default" data-dismiss="modal"><%= t("general.close")%></button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -11,11 +11,13 @@
|
||||||
<% if can_create_repositories?(current_team) %>
|
<% if can_create_repositories?(current_team) %>
|
||||||
<h2><strong><%=t 'libraries.index.no_libraries.title' %><strong></h2>
|
<h2><strong><%=t 'libraries.index.no_libraries.title' %><strong></h2>
|
||||||
<br />
|
<br />
|
||||||
<%= link_to t('libraries.index.no_libraries.create_new_button'),
|
<a class="btn btn-primary btn-lg"
|
||||||
create_modal_team_repositories_path(current_team),
|
id="create-new-repository"
|
||||||
class: "btn btn-primary btn-lg",
|
data-remote="true"
|
||||||
id: "create-new-repository",
|
href="<%= create_modal_team_repositories_path(current_team) %>">
|
||||||
remote: true %>
|
<span class="glyphicon glyphicon-plus"></span>
|
||||||
|
<span class="hidden-xs"><%= t('libraries.index.no_libraries.create_new_button') %></span>
|
||||||
|
</a>
|
||||||
<% else %>
|
<% else %>
|
||||||
<h2><strong><%=t 'libraries.index.no_libraries.no_permission_title' %><strong></h2>
|
<h2><strong><%=t 'libraries.index.no_libraries.no_permission_title' %><strong></h2>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<div id="repository-toolbar">
|
<div id="repository-toolbar">
|
||||||
|
|
||||||
<% if can_create_repository_rows?(@repository.team) %>
|
<% if can_create_repository_rows?(@repository.team) %>
|
||||||
<button type="button" class="btn btn-default editAdd" id="addRepositoryRecord" onclick="onClickAddRecord()">
|
<button type="button" class="btn btn-primary editAdd" id="addRepositoryRecord" onclick="onClickAddRecord()">
|
||||||
<span class="glyphicon glyphicon-plus"></span>
|
<span class="glyphicon glyphicon-plus"></span>
|
||||||
<span class="hidden-xs"><%= t("repositories.add_new_record") %></span>
|
<span class="hidden-xs"><%= t("repositories.add_new_record") %></span>
|
||||||
</button>
|
</button>
|
||||||
|
@ -22,6 +22,7 @@
|
||||||
aria-expanded="true"
|
aria-expanded="true"
|
||||||
<%= "disabled" unless can_perform_repository_actions(@repository) %>>
|
<%= "disabled" unless can_perform_repository_actions(@repository) %>>
|
||||||
<span class="glyphicon glyphicon-cog"></span>
|
<span class="glyphicon glyphicon-cog"></span>
|
||||||
|
<span class="hidden-xs"><%= t('repositories.index.advanced') %></span>
|
||||||
<span class="caret"></span>
|
<span class="caret"></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -84,11 +85,13 @@
|
||||||
<div id="datatables-buttons" style="display: inline;">
|
<div id="datatables-buttons" style="display: inline;">
|
||||||
<div class="new-repository-button">
|
<div class="new-repository-button">
|
||||||
<% if can_create_repositories?(@repository.team) %>
|
<% if can_create_repositories?(@repository.team) %>
|
||||||
<%= link_to t('libraries.index.no_libraries.create_new_button'),
|
<a class="btn btn-default"
|
||||||
create_modal_team_repositories_path(@repository.team),
|
id="create-new-repository"
|
||||||
class: "btn btn-default",
|
data-remote="true"
|
||||||
id: "create-new-repository",
|
href="<%= create_modal_team_repositories_path(@repository.team) %>">
|
||||||
remote: true %>
|
<span class="glyphicon glyphicon-plus"></span>
|
||||||
|
<span class="hidden-xs"><%= t('libraries.index.no_libraries.create_new_button') %></span>
|
||||||
|
</a>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
<%= render partial: "columns_reorder_dropdown", formats: :html %>
|
<%= render partial: "columns_reorder_dropdown", formats: :html %>
|
||||||
|
@ -96,7 +99,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="btn-group inline" id="saveCancel" data-toggle="buttons" style="display:none">
|
<div class="btn-group inline" id="saveCancel" data-toggle="buttons" style="display:none">
|
||||||
<button type="button" class="btn btn-primary" id="saveRecord" onclick="onClickSave()">
|
<button type="button" class="btn btn-success" id="saveRecord" onclick="onClickSave()">
|
||||||
<span class="glyphicon glyphicon-save"></span>
|
<span class="glyphicon glyphicon-save"></span>
|
||||||
<%= t("repositories.save_record") %>
|
<%= t("repositories.save_record") %>
|
||||||
</button>
|
</button>
|
||||||
|
|
|
@ -8,8 +8,8 @@
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="button" class="btn btn-primary" data-action="delete"><%= t("repositories.modal_delete_column.delete") %></button>
|
|
||||||
<button type="button" class="btn btn-default" data-dismiss="modal"><%= t("general.cancel")%></button>
|
<button type="button" class="btn btn-default" data-dismiss="modal"><%= t("general.cancel")%></button>
|
||||||
|
<button type="button" class="btn btn-danger" data-action="delete"><%= t("repositories.modal_delete_column.delete") %></button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -54,8 +54,8 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="button" class="btn btn-primary" data-action="save"><%= t("general.save") %></button>
|
|
||||||
<button type="button" class="btn btn-default" data-dismiss="modal"><%= t("general.cancel")%></button>
|
<button type="button" class="btn btn-default" data-dismiss="modal"><%= t("general.cancel")%></button>
|
||||||
|
<button type="button" class="btn btn-success" data-action="save"><%= t("general.save") %></button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -35,12 +35,14 @@
|
||||||
data-edit-url="<%= edit_repository_repository_column_path(@repository, column) %>">
|
data-edit-url="<%= edit_repository_repository_column_path(@repository, column) %>">
|
||||||
<span class="pull-left"><%= column.name %></span>
|
<span class="pull-left"><%= column.name %></span>
|
||||||
<span class="controlls pull-right">
|
<span class="controlls pull-right">
|
||||||
<span class="glyphicon glyphicon-trash"
|
<button class="btn btn-default" data-action="edit">
|
||||||
aria-hidden="true"
|
<span class="glyphicon glyphicon-pencil"></span>
|
||||||
data-action="destroy"></span>
|
<%=t 'libraries.repository_columns.index.edit_column'%>
|
||||||
<button class="btn btn-primary" data-action="edit">
|
</button>
|
||||||
<%=t 'libraries.repository_columns.index.edit_column'%>
|
<button class="btn btn-default" data-action="destroy">
|
||||||
</button>
|
<span class="glyphicon glyphicon-trash"></span>
|
||||||
|
<%=t 'libraries.repository_columns.index.delete_column'%>
|
||||||
|
</button>
|
||||||
</span>
|
</span>
|
||||||
</li>
|
</li>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
@ -10,11 +10,13 @@
|
||||||
<%= ff.file_field :file %>
|
<%= ff.file_field :file %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<hr>
|
<hr>
|
||||||
<%= f.submit t("result_assets.edit.update"),
|
<div class="align-right">
|
||||||
class: 'btn btn-primary save-result',
|
<button type="button" class="btn btn-default cancel-edit">
|
||||||
onclick: "Results.processResult(event, Results.ResultTypeEnum.FILE, true);" %>
|
<%= t("general.cancel")%>
|
||||||
<button type="button" class="btn btn-default cancel-edit">
|
</button>
|
||||||
<%= t("general.cancel")%>
|
<%= f.submit t("general.save"),
|
||||||
</button>
|
class: 'btn btn-success save-result',
|
||||||
|
onclick: "Results.processResult(event, Results.ResultTypeEnum.FILE, true);" %>
|
||||||
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,22 +1,28 @@
|
||||||
<div class="well">
|
<div class="well">
|
||||||
<div id="new-result-assets-select"
|
<div id="new-result-assets-select" class="text-center new-asset-box">
|
||||||
class="text-center new-asset-box">
|
<%=t 'assets.drag_n_drop.label_html' %>
|
||||||
<%=t 'assets.drag_n_drop.label_html' %> <label><span class="btn btn-primary"><%=t 'assets.drag_n_drop.browse_label' %></span>
|
<label>
|
||||||
<input type="file"
|
<span class="btn btn-primary">
|
||||||
onchange="DragNDropResults.init(this.files, 'select')"
|
<span class="glyphicon glyphicon-plus"></span>
|
||||||
id="drag-n-drop-assets"
|
<%=t 'assets.drag_n_drop.browse_label' %>
|
||||||
style="display: none" multiple>
|
</span>
|
||||||
</label>
|
<input type="file"
|
||||||
|
onchange="DragNDropResults.init(this.files, 'select')"
|
||||||
|
id="drag-n-drop-assets"
|
||||||
|
style="display: none" multiple>
|
||||||
|
</label>
|
||||||
</div>
|
</div>
|
||||||
<br />
|
<br />
|
||||||
<button type="button"
|
<div class="align-right">
|
||||||
class="btn btn-primary save-result"
|
|
||||||
disabled="true"
|
|
||||||
data-href="<%= my_module_result_assets_path(format: :json) %>"
|
|
||||||
onClick="DragNDropResults.processResult(this)"><%=t 'result_assets.new.create' %></button>
|
|
||||||
<button type="button"
|
<button type="button"
|
||||||
class="btn btn-default cancel-new"
|
class="btn btn-default cancel-new"
|
||||||
onClick="DragNDropResults.destroyAll()">
|
onClick="DragNDropResults.destroyAll()">
|
||||||
<%= t("general.cancel")%>
|
<%= t("general.cancel")%>
|
||||||
</button>
|
</button>
|
||||||
|
<button type="button"
|
||||||
|
class="btn btn-success save-result"
|
||||||
|
disabled="true"
|
||||||
|
data-href="<%= my_module_result_assets_path(format: :json) %>"
|
||||||
|
onClick="DragNDropResults.processResult(this)"><%=t 'result_assets.new.create' %></button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -9,11 +9,13 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
<hr>
|
<hr>
|
||||||
<%= f.submit t("result_tables.edit.update"),
|
<div class="align-right">
|
||||||
class: 'btn btn-primary save-result',
|
<button type="button" class="btn btn-default cancel-edit">
|
||||||
onclick: "Results.processResult(event, Results.ResultTypeEnum.TABLE, true);" %>
|
<%= t("general.cancel")%>
|
||||||
<button type="button" class="btn btn-default cancel-edit">
|
</button>
|
||||||
<%= t("general.cancel")%>
|
<%= f.submit t("general.save"),
|
||||||
</button>
|
class: 'btn btn-success save-result',
|
||||||
|
onclick: "Results.processResult(event, Results.ResultTypeEnum.TABLE, true);" %>
|
||||||
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -8,11 +8,13 @@
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
<%= f.submit t("result_tables.new.create"),
|
<div class="align-right">
|
||||||
class: 'btn btn-primary save-result',
|
<button type="button" class="btn btn-default cancel-new">
|
||||||
onclick: "Results.processResult(event, Results.ResultTypeEnum.TABLE, false);" %>
|
<%= t("general.cancel")%>
|
||||||
<button type="button" class="btn btn-default cancel-new">
|
</button>
|
||||||
<%= t("general.cancel")%>
|
<%= f.submit t("result_tables.new.create"),
|
||||||
</button>
|
class: 'btn btn-success save-result',
|
||||||
|
onclick: "Results.processResult(event, Results.ResultTypeEnum.TABLE, false);" %>
|
||||||
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -9,11 +9,13 @@
|
||||||
object_id: @result.result_text.id }) %>
|
object_id: @result.result_text.id }) %>
|
||||||
</div>
|
</div>
|
||||||
<% end %><br />
|
<% end %><br />
|
||||||
<%= f.submit t("result_texts.edit.update"),
|
<div class="align-right">
|
||||||
class: 'btn btn-primary save-result',
|
<button type="button" class="btn btn-default cancel-edit">
|
||||||
onclick: "Results.processResult(event, Results.ResultTypeEnum.TEXT, true);" %>
|
<%= t("general.cancel")%>
|
||||||
<button type="button" class="btn btn-default cancel-edit">
|
</button>
|
||||||
<%= t("general.cancel")%>
|
<%= f.submit t("general.save"),
|
||||||
</button>
|
class: 'btn btn-success save-result',
|
||||||
|
onclick: "Results.processResult(event, Results.ResultTypeEnum.TEXT, true);" %>
|
||||||
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -7,11 +7,13 @@
|
||||||
object_id: @result.result_text.id }) %>
|
object_id: @result.result_text.id }) %>
|
||||||
</div>
|
</div>
|
||||||
<% end %><br />
|
<% end %><br />
|
||||||
<%= f.submit t("result_texts.new.create"),
|
<div class="align-right">
|
||||||
class: 'btn btn-primary save-result',
|
<button type="button" class="btn btn-default cancel-new">
|
||||||
onclick: "Results.processResult(event, Results.ResultTypeEnum.TEXT, false);" %>
|
<%= t("general.cancel")%>
|
||||||
<button type="button" class="btn btn-default cancel-new">
|
</button>
|
||||||
<%= t("general.cancel")%>
|
<%= f.submit t("result_texts.new.create"),
|
||||||
</button>
|
class: 'btn btn-success save-result',
|
||||||
|
onclick: "Results.processResult(event, Results.ResultTypeEnum.TEXT, false);" %>
|
||||||
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -110,12 +110,12 @@ invite_to_team = type.in?(%w(invite_to_team invite_to_team_with_role))
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<!-- Invite buttons -->
|
<!-- Invite buttons -->
|
||||||
<button type="button" data-role="invite-btn" class="btn btn-primary" disabled="disabled" data-action="invite">
|
<button type="button" data-role="invite-btn" class="btn btn-success" disabled="disabled" data-action="invite">
|
||||||
<%= t('invite_users.invite_btn') %>
|
<%= t('invite_users.invite_btn') %>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<div class="btn-group" data-role="invite-with-role-div">
|
<div class="btn-group" data-role="invite-with-role-div">
|
||||||
<button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" data-id="invite-btn" aria-haspopup="true" aria-expanded="false" data-role="invite-with-role-btn" disabled="disabled">
|
<button type="button" class="btn btn-success dropdown-toggle" data-toggle="dropdown" data-id="invite-btn" aria-haspopup="true" aria-expanded="false" data-role="invite-with-role-btn" disabled="disabled">
|
||||||
<%= t('invite_users.invite_btn') %>
|
<%= t('invite_users.invite_btn') %>
|
||||||
|
|
||||||
<span class="caret"></span>
|
<span class="caret"></span>
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
<div class="btn-group">
|
<div class="btn-group">
|
||||||
<button type="button" class="btn btn-default"><%= truncate_team_name(current_team.name) %></button>
|
<button type="button" class="btn btn-default"><%= truncate_team_name(current_team.name) %></button>
|
||||||
<button type="button"
|
<button type="button"
|
||||||
class="btn btn-primary dropdown-toggle"
|
class="btn btn-default dropdown-toggle"
|
||||||
title="<%= t('nav.label.teams') %>"
|
title="<%= t('nav.label.teams') %>"
|
||||||
data-toggle="dropdown"
|
data-toggle="dropdown"
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
|
@ -37,6 +37,7 @@
|
||||||
url: user_current_team_path,
|
url: user_current_team_path,
|
||||||
method: :post) do |f| %>
|
method: :post) do |f| %>
|
||||||
<%= hidden_field(:user, :current_team_id) %>
|
<%= hidden_field(:user, :current_team_id) %>
|
||||||
|
<div class="team-switch-dropdown-header"><%= t('nav.team_switch_title') %></div>
|
||||||
<% current_user.teams.each do |team| %>
|
<% current_user.teams.each do |team| %>
|
||||||
<li class="team-name-item">
|
<li class="team-name-item">
|
||||||
<a href="#"
|
<a href="#"
|
||||||
|
|
|
@ -4,9 +4,11 @@
|
||||||
<hr>
|
<hr>
|
||||||
<%= render partial: "empty_step.html.erb", locals: {step: @step, f: f} %>
|
<%= render partial: "empty_step.html.erb", locals: {step: @step, f: f} %>
|
||||||
<hr>
|
<hr>
|
||||||
<%= f.submit t("protocols.steps.edit.edit_step"), class: 'btn btn-primary step-save', onclick: "processStep(event, true);" %>
|
<div class="align-right">
|
||||||
<a type="button" data-action="cancel-edit" class="btn btn-default" href="<%= step_path(id: @step, format: :json) %>" data-remote="true">
|
<a type="button" data-action="cancel-edit" class="btn btn-default" href="<%= step_path(id: @step, format: :json) %>" data-remote="true">
|
||||||
<%= t("general.cancel")%>
|
<%= t("general.cancel")%>
|
||||||
</a>
|
</a>
|
||||||
|
<%= f.submit t("protocols.steps.edit.edit_step"), class: 'btn btn-success step-save', onclick: "processStep(event, true);" %>
|
||||||
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -43,7 +43,12 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="tab-pane" role="tabpanel" id="new-step-assets">
|
<div class="tab-pane" role="tabpanel" id="new-step-assets">
|
||||||
<div class="text-center new-asset-box">
|
<div class="text-center new-asset-box">
|
||||||
<%=t 'assets.drag_n_drop.label_html' %> <label><span class="btn btn-primary"><%=t 'assets.drag_n_drop.browse_label' %></span>
|
<%=t 'assets.drag_n_drop.label_html' %>
|
||||||
|
<label>
|
||||||
|
<span class="btn btn-primary">
|
||||||
|
<span class="glyphicon glyphicon-plus"></span>
|
||||||
|
<%=t 'assets.drag_n_drop.browse_label' %>
|
||||||
|
</span>
|
||||||
<input type="file"
|
<input type="file"
|
||||||
onchange="DragNDropSteps.init(this.files)"
|
onchange="DragNDropSteps.init(this.files)"
|
||||||
id="drag-n-drop-assets"
|
id="drag-n-drop-assets"
|
||||||
|
|
|
@ -4,9 +4,11 @@
|
||||||
<hr>
|
<hr>
|
||||||
<%= render partial: "empty_step.html.erb", locals: {step: @step, f: f} %>
|
<%= render partial: "empty_step.html.erb", locals: {step: @step, f: f} %>
|
||||||
<hr>
|
<hr>
|
||||||
<%= f.submit t("protocols.steps.new.add_step"), class: 'btn btn-primary step-save', onclick: "processStep(event, false);" %>
|
<div class="align-right">
|
||||||
<button type="button" data-action="cancel-new" class="btn btn-default">
|
<button type="button" data-action="cancel-new" class="btn btn-default">
|
||||||
<%= t("general.cancel")%>
|
<%= t("general.cancel")%>
|
||||||
</button>
|
</button>
|
||||||
|
<%= f.submit t("protocols.steps.new.add_step"), class: 'btn btn-success step-save', onclick: "processStep(event, false);" %>
|
||||||
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -132,7 +132,7 @@
|
||||||
<div data-action="complete-step"
|
<div data-action="complete-step"
|
||||||
class="pull-right"
|
class="pull-right"
|
||||||
data-link-url="<%= toggle_step_state_step_path(step)%>">
|
data-link-url="<%= toggle_step_state_step_path(step)%>">
|
||||||
<button class="btn btn-primary"><%= t("protocols.steps.options.complete_title") %></button>
|
<button class="btn btn-success"><%= t("protocols.steps.options.complete_title") %></button>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
@ -46,9 +46,9 @@
|
||||||
<%= f.label :avatar, t("users.registrations.edit.avatar_edit_label") %>
|
<%= f.label :avatar, t("users.registrations.edit.avatar_edit_label") %>
|
||||||
<%= f.file_field :avatar, class: "btn btn-default" %>
|
<%= f.file_field :avatar, class: "btn btn-default" %>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div class="align-right">
|
||||||
<a href="#" class="btn btn-default" data-action="cancel"><%=t "general.cancel" %></a>
|
<a href="#" class="btn btn-default" data-action="cancel"><%=t "general.cancel" %></a>
|
||||||
<%= f.submit t("users.registrations.edit.avatar_submit"), class: 'btn btn-primary', onclick: "processFile(event);" %>
|
<%= f.submit t("users.registrations.edit.avatar_submit"), class: 'btn btn-success', onclick: "processFile(event);" %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -76,9 +76,9 @@
|
||||||
<%= f.label :full_name, t("users.registrations.edit.name_label") %>
|
<%= f.label :full_name, t("users.registrations.edit.name_label") %>
|
||||||
<%= f.text_field :full_name, class: "form-control", "data-role" => "edit" %>
|
<%= f.text_field :full_name, class: "form-control", "data-role" => "edit" %>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div class="align-right">
|
||||||
<a href="#" class="btn btn-default" data-action="cancel"><%=t "general.cancel" %></a>
|
<a href="#" class="btn btn-default" data-action="cancel"><%=t "general.cancel" %></a>
|
||||||
<%= f.submit t("general.update"), class: "btn btn-primary" %>
|
<%= f.submit t("general.save"), class: "btn btn-success" %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -107,9 +107,9 @@
|
||||||
<%= f.label :initials, t("users.registrations.edit.initials_label") %>
|
<%= f.label :initials, t("users.registrations.edit.initials_label") %>
|
||||||
<%= f.text_field :initials, class: "form-control", "data-role" => "edit" %>
|
<%= f.text_field :initials, class: "form-control", "data-role" => "edit" %>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div class="align-right">
|
||||||
<a href="#" class="btn btn-default" data-action="cancel"><%=t "general.cancel" %></a>
|
<a href="#" class="btn btn-default" data-action="cancel"><%=t "general.cancel" %></a>
|
||||||
<%= f.submit t("general.update"), class: "btn btn-primary" %>
|
<%= f.submit t("general.save"), class: "btn btn-success" %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -148,9 +148,9 @@
|
||||||
<%= f.label :current_password, t("users.registrations.edit.current_password_label") %> <i><%=t "users.registrations.edit.password_explanation" %></i>
|
<%= f.label :current_password, t("users.registrations.edit.current_password_label") %> <i><%=t "users.registrations.edit.password_explanation" %></i>
|
||||||
<%= f.password_field :current_password, autocomplete: "off", class: "form-control", "data-role" => "clear", id: 'edit-email-current-password' %>
|
<%= f.password_field :current_password, autocomplete: "off", class: "form-control", "data-role" => "clear", id: 'edit-email-current-password' %>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div class="align-right">
|
||||||
<a href="#" class="btn btn-default" data-action="cancel"><%=t "general.cancel" %></a>
|
<a href="#" class="btn btn-default" data-action="cancel"><%=t "general.cancel" %></a>
|
||||||
<%= f.submit t("general.update"), class: "btn btn-primary" %>
|
<%= f.submit t("general.save"), class: "btn btn-success" %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -191,9 +191,9 @@
|
||||||
<%= f.password_field :password_confirmation, autocomplete: "off", class: "form-control", "data-role" => "clear" %>
|
<%= f.password_field :password_confirmation, autocomplete: "off", class: "form-control", "data-role" => "clear" %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div class="align-right">
|
||||||
<a href="#" class="btn btn-default" data-action="cancel"><%=t "general.cancel" %></a>
|
<a href="#" class="btn btn-default" data-action="cancel"><%=t "general.cancel" %></a>
|
||||||
<%= f.submit t("general.update"), class: "btn btn-primary" %>
|
<%= f.submit t("general.save"), class: "btn btn-success" %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<a href="#" class="btn btn-default" data-action="cancel"><%=t "general.cancel" %></a>
|
<a href="#" class="btn btn-default" data-action="cancel"><%=t "general.cancel" %></a>
|
||||||
<%= f.submit t("general.update"), class: "btn btn-primary" %>
|
<%= f.submit t("general.save"), class: "btn btn-success" %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
<div class="modal-body"></div>
|
<div class="modal-body"></div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="button" class="btn btn-default" data-dismiss="modal"><%=t "general.cancel" %></button>
|
<button type="button" class="btn btn-default" data-dismiss="modal"><%=t "general.cancel" %></button>
|
||||||
<button type="button" class="btn btn-primary" data-action="submit"><%=t "general.update" %></button>
|
<button type="button" class="btn btn-success" data-action="submit"><%=t "general.save" %></button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<%= bootstrap_form_tag url: destroy_team_path(team), method: :delete do |f| %>
|
<%= bootstrap_form_tag url: destroy_team_path(team), method: :delete do |f| %>
|
||||||
<button type="button" class="btn btn-default" data-dismiss="modal"><%= t('general.cancel') %></button>
|
<button type="button" class="btn btn-default" data-dismiss="modal"><%= t('general.cancel') %></button>
|
||||||
<%= f.submit t("users.settings.teams.edit.modal_destroy_team.confirm"), class: "btn btn-primary" %>
|
<%= f.submit t("users.settings.teams.edit.modal_destroy_team.confirm"), class: "btn btn-danger" %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
<div class="modal-body"></div>
|
<div class="modal-body"></div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="button" class="btn btn-default" data-dismiss="modal"><%=t 'general.cancel' %></button>
|
<button type="button" class="btn btn-default" data-dismiss="modal"><%=t 'general.cancel' %></button>
|
||||||
<button type="button" class="btn btn-primary" data-action="submit"><%=t 'general.update' %></button>
|
<button type="button" class="btn btn-success" data-action="submit"><%=t 'general.save' %></button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
<% if can_create_teams? %>
|
<% if can_create_teams? %>
|
||||||
<span id="new-team-button">
|
<span id="new-team-button">
|
||||||
<%= link_to new_team_path, class: "btn btn-default", style: "margin-left: 30px;" do %>
|
<%= link_to new_team_path, class: "btn btn-primary", style: "margin-left: 30px;" do %>
|
||||||
<span class="glyphicon glyphicon-plus"></span>
|
<span class="glyphicon glyphicon-plus"></span>
|
||||||
<span class="hidden-xs">
|
<span class="hidden-xs">
|
||||||
<%= t("users.settings.teams.index.new_team") %>
|
<%= t("users.settings.teams.index.new_team") %>
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<%= link_to t('general.cancel'), teams_path, class: 'btn btn-default' %>
|
<%= link_to t('general.cancel'), teams_path, class: 'btn btn-default' %>
|
||||||
<%= f.submit t('users.settings.teams.new.create'), class: 'btn btn-primary' %>
|
<%= f.submit t('users.settings.teams.new.create'), class: 'btn btn-success' %>
|
||||||
|
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="button" class="btn btn-default" data-dismiss="modal"><%=t 'general.cancel' %></button>
|
<button type="button" class="btn btn-default" data-dismiss="modal"><%=t 'general.cancel' %></button>
|
||||||
<button type="button"
|
<button type="button"
|
||||||
class="btn btn-primary"
|
class="btn btn-danger"
|
||||||
data-action="submit"><%=t 'users.settings.user_teams.destroy_uo_confirm' %></button>
|
data-action="submit"><%=t 'users.settings.user_teams.destroy_uo_confirm' %></button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="button" class="btn btn-default" data-dismiss="modal"><%= t('general.cancel') %></button>
|
<button type="button" class="btn btn-default" data-dismiss="modal"><%= t('general.cancel') %></button>
|
||||||
<button type="button"
|
<button type="button"
|
||||||
class="btn btn-primary"
|
class="btn btn-danger"
|
||||||
data-action="submit"><%= t('users.settings.user_teams.leave_uo_confirm') %></button>
|
data-action="submit"><%= t('users.settings.user_teams.leave_uo_confirm') %></button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -67,6 +67,7 @@ en:
|
||||||
body:
|
body:
|
||||||
notice: "You need to enable JavaScript to run this app."
|
notice: "You need to enable JavaScript to run this app."
|
||||||
nav:
|
nav:
|
||||||
|
team_switch_title: "Switch team"
|
||||||
search: "Search for something..."
|
search: "Search for something..."
|
||||||
search_button: 'Go!'
|
search_button: 'Go!'
|
||||||
user_greeting: "Hi, %{full_name}"
|
user_greeting: "Hi, %{full_name}"
|
||||||
|
@ -201,7 +202,7 @@ en:
|
||||||
index:
|
index:
|
||||||
head_title: "Home"
|
head_title: "Home"
|
||||||
archive: "Archive"
|
archive: "Archive"
|
||||||
new: "New project"
|
new: "New Project"
|
||||||
visibility_private: "Project is private. Only invited users can see it."
|
visibility_private: "Project is private. Only invited users can see it."
|
||||||
visibility_public: "Project is public. Everybody from the team can see it."
|
visibility_public: "Project is public. Everybody from the team can see it."
|
||||||
user_project: "%{user} joined on %{timestamp}."
|
user_project: "%{user} joined on %{timestamp}."
|
||||||
|
@ -236,7 +237,7 @@ en:
|
||||||
content_loading: "Loading..."
|
content_loading: "Loading..."
|
||||||
edit_option: "Edit"
|
edit_option: "Edit"
|
||||||
archive_option: "Archive"
|
archive_option: "Archive"
|
||||||
archive_confirm: "Are you sure to archive project?"
|
archive_confirm: "Are you sure you want to archive this project?"
|
||||||
restore_option: "Restore"
|
restore_option: "Restore"
|
||||||
options_header: "Options"
|
options_header: "Options"
|
||||||
comment_placeholder: "Your Message"
|
comment_placeholder: "Your Message"
|
||||||
|
@ -245,7 +246,7 @@ en:
|
||||||
back_to_projects_index: "Back to home"
|
back_to_projects_index: "Back to home"
|
||||||
modal_new_project:
|
modal_new_project:
|
||||||
modal_title: "Create new project"
|
modal_title: "Create new project"
|
||||||
create: "Create project"
|
create: "Create"
|
||||||
name: "Project name"
|
name: "Project name"
|
||||||
name_placeholder: "My project"
|
name_placeholder: "My project"
|
||||||
team: "Team"
|
team: "Team"
|
||||||
|
@ -254,7 +255,7 @@ en:
|
||||||
visibility_visible: "Public"
|
visibility_visible: "Public"
|
||||||
modal_edit_project:
|
modal_edit_project:
|
||||||
modal_title: "Edit project %{project}"
|
modal_title: "Edit project %{project}"
|
||||||
submit: "Update project"
|
submit: "Save"
|
||||||
modal_manage_users:
|
modal_manage_users:
|
||||||
modal_title: "Manage users for"
|
modal_title: "Manage users for"
|
||||||
no_users: "No users!"
|
no_users: "No users!"
|
||||||
|
@ -266,7 +267,7 @@ en:
|
||||||
no_teams:
|
no_teams:
|
||||||
title: "Your dashboard is empty!"
|
title: "Your dashboard is empty!"
|
||||||
text: "It seems you're not a member of any team. See team management to sort it out."
|
text: "It seems you're not a member of any team. See team management to sort it out."
|
||||||
btn: "Manage teams"
|
btn: "Manage Teams"
|
||||||
create:
|
create:
|
||||||
success_flash: "Project <strong>%{name}</strong> successfully created."
|
success_flash: "Project <strong>%{name}</strong> successfully created."
|
||||||
name_taken: "This project name has to be unique inside a team (this includes the archive)."
|
name_taken: "This project name has to be unique inside a team (this includes the archive)."
|
||||||
|
@ -289,9 +290,9 @@ en:
|
||||||
print_title: "%{project} | Report"
|
print_title: "%{project} | Report"
|
||||||
index:
|
index:
|
||||||
head_title: " Reports"
|
head_title: " Reports"
|
||||||
new: "New report"
|
new: "New"
|
||||||
edit: "Edit report"
|
edit: "Edit"
|
||||||
delete: "Delete report/s"
|
delete: "Delete"
|
||||||
thead_project_name: "Project name"
|
thead_project_name: "Project name"
|
||||||
thead_name: "Report name"
|
thead_name: "Report name"
|
||||||
thead_created_by: "Created by"
|
thead_created_by: "Created by"
|
||||||
|
@ -316,7 +317,7 @@ en:
|
||||||
nav_pdf: "Download PDF"
|
nav_pdf: "Download PDF"
|
||||||
nav_save: "Save"
|
nav_save: "Save"
|
||||||
nav_close: "Close"
|
nav_close: "Close"
|
||||||
nav_sort_by: "Sort report by"
|
nav_sort_by: "Sort by"
|
||||||
nav_sort_asc: "Oldest on top"
|
nav_sort_asc: "Oldest on top"
|
||||||
nav_sort_desc: "Newest on top"
|
nav_sort_desc: "Newest on top"
|
||||||
nav_sort: "Sort"
|
nav_sort: "Sort"
|
||||||
|
@ -381,7 +382,7 @@ en:
|
||||||
instructions: "Include result/s comments in the report?"
|
instructions: "Include result/s comments in the report?"
|
||||||
check_all: "All results content"
|
check_all: "All results content"
|
||||||
comments: "Comments"
|
comments: "Comments"
|
||||||
add: "Add to report"
|
add: "Add"
|
||||||
save_report:
|
save_report:
|
||||||
head_title: "Save report"
|
head_title: "Save report"
|
||||||
name: "Report name"
|
name: "Report name"
|
||||||
|
@ -490,8 +491,8 @@ en:
|
||||||
|
|
||||||
my_modules:
|
my_modules:
|
||||||
buttons:
|
buttons:
|
||||||
complete: "Complete task"
|
complete: "Complete Task"
|
||||||
uncomplete: "Uncomplete task"
|
uncomplete: "Uncomplete Task"
|
||||||
complete_modal:
|
complete_modal:
|
||||||
description: 'You have completed all steps in the task. Would you like to mark entire task as completed?'
|
description: 'You have completed all steps in the task. Would you like to mark entire task as completed?'
|
||||||
leave_uncompleted: 'Leave task in progress'
|
leave_uncompleted: 'Leave task in progress'
|
||||||
|
@ -568,11 +569,11 @@ en:
|
||||||
title: "Newer version in repository and task"
|
title: "Newer version in repository and task"
|
||||||
text: "There is a newer <a href='#' data-toggle='tooltip' data-placement='below' title='Last modified at %{parent_ts}'>version</a> of this protocol in the repository. This <a href='#' data-toggle='tooltip' data-placement='below' title='Last modified at %{self_ts}'>version</a> of protocol is newer than the version stored in protocol repository."
|
text: "There is a newer <a href='#' data-toggle='tooltip' data-placement='below' title='Last modified at %{parent_ts}'>version</a> of this protocol in the repository. This <a href='#' data-toggle='tooltip' data-placement='below' title='Last modified at %{self_ts}'>version</a> of protocol is newer than the version stored in protocol repository."
|
||||||
buttons:
|
buttons:
|
||||||
load_protocol: "Load protocol"
|
load_protocol: "Load Protocol"
|
||||||
load_protocol_from_repository: "from repository"
|
load_protocol_from_repository: "from repository"
|
||||||
load_protocol_from_file: "from file"
|
load_protocol_from_file: "from file"
|
||||||
export: "Export protocol"
|
export: "Export Protocol"
|
||||||
copy_to_repository: "Save to protocol repository"
|
copy_to_repository: "Save To Protocol Repository"
|
||||||
confirm_link_update_modal:
|
confirm_link_update_modal:
|
||||||
unlink_title: "Unlink protocol"
|
unlink_title: "Unlink protocol"
|
||||||
unlink_message: "Are you sure you want to unlink the task protocol from the repository version? This will stop any tracking of changes."
|
unlink_message: "Are you sure you want to unlink the task protocol from the repository version? This will stop any tracking of changes."
|
||||||
|
@ -626,7 +627,7 @@ en:
|
||||||
link_label: "Link task to this repository protocol"
|
link_label: "Link task to this repository protocol"
|
||||||
link_text: "<strong>Warning!</strong> This will unlink the currently linked protocol."
|
link_text: "<strong>Warning!</strong> This will unlink the currently linked protocol."
|
||||||
error_400: "Due to unknown error, protocol could not be copied to repository."
|
error_400: "Due to unknown error, protocol could not be copied to repository."
|
||||||
confirm: "Copy to repository"
|
confirm: "Copy"
|
||||||
load_from_file_flash: "Successfully loaded the protocol from the file."
|
load_from_file_flash: "Successfully loaded the protocol from the file."
|
||||||
load_from_file_error: "Failed to load the protocol from file."
|
load_from_file_error: "Failed to load the protocol from file."
|
||||||
load_from_file_error_locked: "Failed to load the protocol from file. One or more files are currently being edited."
|
load_from_file_error_locked: "Failed to load the protocol from file. One or more files are currently being edited."
|
||||||
|
@ -643,8 +644,8 @@ en:
|
||||||
published_table: "entered a table on %{timestamp}."
|
published_table: "entered a table on %{timestamp}."
|
||||||
published_text: "entered a text on %{timestamp}."
|
published_text: "entered a text on %{timestamp}."
|
||||||
published_asset: "uploaded a file on %{timestamp}."
|
published_asset: "uploaded a file on %{timestamp}."
|
||||||
expand_label: "Expand all"
|
expand_label: "Expand All"
|
||||||
collapse_label: "Collapse all"
|
collapse_label: "Collapse All"
|
||||||
empty_name: "Add title"
|
empty_name: "Add title"
|
||||||
archive_confirm: "Are you sure to archive result?"
|
archive_confirm: "Are you sure to archive result?"
|
||||||
info_tab: "Info"
|
info_tab: "Info"
|
||||||
|
@ -659,16 +660,16 @@ en:
|
||||||
activities:
|
activities:
|
||||||
head_title: "%{project} | %{module} | Activity"
|
head_title: "%{project} | %{module} | Activity"
|
||||||
no_activities: "There are no activities for this task."
|
no_activities: "There are no activities for this task."
|
||||||
more_activities: "Load older activities"
|
more_activities: "More activities"
|
||||||
repository:
|
repository:
|
||||||
head_title: "%{project} | %{module} | Inventory %{repository}"
|
head_title: "%{project} | %{module} | Inventory %{repository}"
|
||||||
export: 'Export'
|
export: 'Export'
|
||||||
|
|
||||||
experiments:
|
experiments:
|
||||||
new:
|
new:
|
||||||
create: 'New experiment'
|
create: 'New Experiment'
|
||||||
modal_title: 'Create new experiment'
|
modal_title: 'Create new experiment'
|
||||||
modal_create: 'Create experiment'
|
modal_create: 'Create'
|
||||||
name: 'Experiment name'
|
name: 'Experiment name'
|
||||||
name_placeholder: 'My experiment'
|
name_placeholder: 'My experiment'
|
||||||
description: 'Description'
|
description: 'Description'
|
||||||
|
@ -694,7 +695,7 @@ en:
|
||||||
clone:
|
clone:
|
||||||
modal_title: 'Copy experiment %{experiment} as template'
|
modal_title: 'Copy experiment %{experiment} as template'
|
||||||
label_title: 'Copy as template (only Protocols steps copied)'
|
label_title: 'Copy as template (only Protocols steps copied)'
|
||||||
modal_submit: 'Copy as template'
|
modal_submit: 'Copy'
|
||||||
success_flash: 'Successfully copied experiment %{experiment} as template.'
|
success_flash: 'Successfully copied experiment %{experiment} as template.'
|
||||||
error_flash: 'Could not copy the experiment as template.'
|
error_flash: 'Could not copy the experiment as template.'
|
||||||
current_project: '(current project)'
|
current_project: '(current project)'
|
||||||
|
@ -710,7 +711,7 @@ en:
|
||||||
archive_confirm: "Are you sure to archive this experiment?"
|
archive_confirm: "Are you sure to archive this experiment?"
|
||||||
actions: 'Actions'
|
actions: 'Actions'
|
||||||
head_title: "%{project} | Overview"
|
head_title: "%{project} | Overview"
|
||||||
canvas_edit: "Edit experiment"
|
canvas_edit: "Edit Experiment"
|
||||||
zoom: "Zoom: "
|
zoom: "Zoom: "
|
||||||
reload_on_submit: "Save action is running. Reloading this page may cause unexpected behavior."
|
reload_on_submit: "Save action is running. Reloading this page may cause unexpected behavior."
|
||||||
modal_manage_tags:
|
modal_manage_tags:
|
||||||
|
@ -722,8 +723,8 @@ en:
|
||||||
delete_tag: "Permanently delete tag from all tasks."
|
delete_tag: "Permanently delete tag from all tasks."
|
||||||
save_tag: "Save tag."
|
save_tag: "Save tag."
|
||||||
cancel_tag: "Cancel changes to the tag."
|
cancel_tag: "Cancel changes to the tag."
|
||||||
create: "Add tag"
|
create: "Add"
|
||||||
create_new: "Create new tag"
|
create_new: "New"
|
||||||
edit:
|
edit:
|
||||||
new_module: "New task"
|
new_module: "New task"
|
||||||
new_module_hover: "Drag me onto canvas"
|
new_module_hover: "Drag me onto canvas"
|
||||||
|
@ -744,26 +745,26 @@ en:
|
||||||
title: "Add new task"
|
title: "Add new task"
|
||||||
name: "Task name"
|
name: "Task name"
|
||||||
name_placeholder: "My task"
|
name_placeholder: "My task"
|
||||||
confirm: "Add task"
|
confirm: "Add"
|
||||||
modal_edit_module:
|
modal_edit_module:
|
||||||
title: "Rename task"
|
title: "Rename task"
|
||||||
name: "Task name"
|
name: "Task name"
|
||||||
confirm: "Rename task"
|
confirm: "Rename"
|
||||||
modal_move_module:
|
modal_move_module:
|
||||||
title: "Move task to experiment"
|
title: "Move task to experiment"
|
||||||
confirm: "Move task"
|
confirm: "Move"
|
||||||
no_experiments: "There are no other experiments."
|
no_experiments: "There are no other experiments."
|
||||||
modal_move_module_group:
|
modal_move_module_group:
|
||||||
title: "Move workflow to experiment"
|
title: "Move workflow to experiment"
|
||||||
confirm: "Move workflow"
|
confirm: "Move"
|
||||||
no_experiments: "There are no other experiments."
|
no_experiments: "There are no other experiments."
|
||||||
modal_delete_module:
|
modal_delete_module:
|
||||||
title: "Archive task"
|
title: "Archive task"
|
||||||
confirm: "Archive task"
|
confirm: "Archive"
|
||||||
message: "Are you sure you wish to archive task %{module}? Task's samples and position will be removed."
|
message: "Are you sure you wish to archive task %{module}? Task's samples and position will be removed."
|
||||||
modal_delete_module_group:
|
modal_delete_module_group:
|
||||||
title: "Archive workflow"
|
title: "Archive workflow"
|
||||||
confirm: "Archive workflow"
|
confirm: "Archive"
|
||||||
message: "Are you sure you wish to archive the workflow task %{module} belongs to? All workflow tasks' samples and positions will be removed."
|
message: "Are you sure you wish to archive the workflow task %{module} belongs to? All workflow tasks' samples and positions will be removed."
|
||||||
popups:
|
popups:
|
||||||
info_tab: "Task info"
|
info_tab: "Task info"
|
||||||
|
@ -826,11 +827,11 @@ en:
|
||||||
new:
|
new:
|
||||||
head_title: "%{project} | %{module} | Add text result"
|
head_title: "%{project} | %{module} | Add text result"
|
||||||
title: "Add result to task %{module}"
|
title: "Add result to task %{module}"
|
||||||
create: "Add text result"
|
create: "Add"
|
||||||
edit:
|
edit:
|
||||||
head_title: "%{project} | %{module} | Edit text result"
|
head_title: "%{project} | %{module} | Edit text result"
|
||||||
title: "Edit result from task %{module}"
|
title: "Edit result from task %{module}"
|
||||||
update: "Update text result"
|
update: "Update"
|
||||||
create:
|
create:
|
||||||
success_flash: "Successfully added text result to task <strong>%{module}</strong>"
|
success_flash: "Successfully added text result to task <strong>%{module}</strong>"
|
||||||
update:
|
update:
|
||||||
|
@ -844,12 +845,12 @@ en:
|
||||||
new:
|
new:
|
||||||
head_title: "%{project} | %{module} | Add file result"
|
head_title: "%{project} | %{module} | Add file result"
|
||||||
title: "Add result to task %{module}"
|
title: "Add result to task %{module}"
|
||||||
create: "Add file result"
|
create: "Add"
|
||||||
edit:
|
edit:
|
||||||
head_title: "%{project} | %{module} | Edit file result"
|
head_title: "%{project} | %{module} | Edit file result"
|
||||||
title: "Edit result from task %{module}"
|
title: "Edit result from task %{module}"
|
||||||
uploaded_asset: "Uploaded file"
|
uploaded_asset: "Uploaded file"
|
||||||
update: "Update file result"
|
update: "Update"
|
||||||
locked_file_error: 'This file is being edited by someone else.'
|
locked_file_error: 'This file is being edited by someone else.'
|
||||||
create:
|
create:
|
||||||
success_flash: "Successfully added file result to task <strong>%{module}</strong>"
|
success_flash: "Successfully added file result to task <strong>%{module}</strong>"
|
||||||
|
@ -868,11 +869,11 @@ en:
|
||||||
new:
|
new:
|
||||||
head_title: "%{project} | %{module} | Add table result"
|
head_title: "%{project} | %{module} | Add table result"
|
||||||
title: "Add result to task %{module}"
|
title: "Add result to task %{module}"
|
||||||
create: "Add table result"
|
create: "Add"
|
||||||
edit:
|
edit:
|
||||||
head_title: "%{project} | %{module} | Edit table result"
|
head_title: "%{project} | %{module} | Edit table result"
|
||||||
title: "Edit result from task %{module}"
|
title: "Edit result from task %{module}"
|
||||||
update: "Update table result"
|
update: "Update"
|
||||||
create:
|
create:
|
||||||
success_flash: "Successfully added table result to task <strong>%{module}</strong>"
|
success_flash: "Successfully added table result to task <strong>%{module}</strong>"
|
||||||
update:
|
update:
|
||||||
|
@ -894,6 +895,8 @@ en:
|
||||||
no_teams:
|
no_teams:
|
||||||
title: "Your dashboard is empty!"
|
title: "Your dashboard is empty!"
|
||||||
text: "It seems you're not a member of any team. See team management to sort it out."
|
text: "It seems you're not a member of any team. See team management to sort it out."
|
||||||
|
visibility: "Visibility"
|
||||||
|
advanced: "Advanced"
|
||||||
options_dropdown:
|
options_dropdown:
|
||||||
header: "Edit inventory"
|
header: "Edit inventory"
|
||||||
rename: "Rename"
|
rename: "Rename"
|
||||||
|
@ -906,23 +909,23 @@ en:
|
||||||
alert_heading: "Deleting inventory has following consequences:"
|
alert_heading: "Deleting inventory has following consequences:"
|
||||||
alert_line_1: "all data inside the inventory will be lost;"
|
alert_line_1: "all data inside the inventory will be lost;"
|
||||||
alert_line_2: "all references to inventory items will be rendered as invalid."
|
alert_line_2: "all references to inventory items will be rendered as invalid."
|
||||||
delete: "Delete inventory"
|
delete: "Delete"
|
||||||
modal_rename:
|
modal_rename:
|
||||||
title_html: "Rename inventory <em>%{name}</em>"
|
title_html: "Rename inventory <em>%{name}</em>"
|
||||||
name: "New inventory name"
|
name: "New inventory name"
|
||||||
name_placeholder: "My inventory"
|
name_placeholder: "My inventory"
|
||||||
rename: "Rename inventory"
|
rename: "Rename"
|
||||||
modal_copy:
|
modal_copy:
|
||||||
title_html: "Copy inventory <em>%{name}</em>"
|
title_html: "Copy inventory <em>%{name}</em>"
|
||||||
name: "New inventory name"
|
name: "New inventory name"
|
||||||
description: "Only the structure of the inventory is going to be copied."
|
description: "Only the structure of the inventory is going to be copied."
|
||||||
name_placeholder: "My inventory"
|
name_placeholder: "My inventory"
|
||||||
copy: "Copy inventory"
|
copy: "Copy"
|
||||||
modal_create:
|
modal_create:
|
||||||
title: "Create new inventory"
|
title: "Create new inventory"
|
||||||
name_label: "Inventory name"
|
name_label: "Inventory name"
|
||||||
name_placeholder: "My inventory"
|
name_placeholder: "My inventory"
|
||||||
submit: "Create inventory"
|
submit: "Create"
|
||||||
success_flash: "Inventory <strong>%{name}</strong> successfully created."
|
success_flash: "Inventory <strong>%{name}</strong> successfully created."
|
||||||
table:
|
table:
|
||||||
id: 'ID'
|
id: 'ID'
|
||||||
|
@ -930,7 +933,7 @@ en:
|
||||||
row_name: "Name"
|
row_name: "Name"
|
||||||
added_on: "Added on"
|
added_on: "Added on"
|
||||||
added_by: "Added by"
|
added_by: "Added by"
|
||||||
add_new_record: "Add new item"
|
add_new_record: "New item"
|
||||||
import_records:
|
import_records:
|
||||||
import: 'Import'
|
import: 'Import'
|
||||||
no_header_name: 'No column name'
|
no_header_name: 'No column name'
|
||||||
|
@ -957,27 +960,28 @@ en:
|
||||||
columns_delete: "Delete"
|
columns_delete: "Delete"
|
||||||
columns_reorder: "Re-Order Columns"
|
columns_reorder: "Re-Order Columns"
|
||||||
columns_visibility: "Visible columns"
|
columns_visibility: "Visible columns"
|
||||||
view_all_records: "View all items"
|
view_all_records: "View All Items"
|
||||||
view_assigned_records: "View assigned items"
|
view_assigned_records: "View Assigned Items"
|
||||||
modal_delete_record:
|
modal_delete_record:
|
||||||
title: "Delete items"
|
title: "Delete items"
|
||||||
notice: "Are you sure you want to delete the selected item(s)?"
|
notice: "Are you sure you want to delete the selected item(s)?"
|
||||||
delete: "Delete item(s)"
|
delete: "Delete"
|
||||||
modal_delete_column:
|
modal_delete_column:
|
||||||
title: "Delete a column"
|
title: "Delete a column"
|
||||||
message: "Are you sure you wish to permanently delete selected column %{column}? This action is irreversible."
|
message: "Are you sure you wish to permanently delete selected column %{column}? This action is irreversible."
|
||||||
alert_heading: "Deleting a column has following consequences:"
|
alert_heading: "Deleting a column has following consequences:"
|
||||||
alert_line_1: "you will lose information in this column for %{nr} item(s);"
|
alert_line_1: "you will lose information in this column for %{nr} item(s);"
|
||||||
alert_line_2: "the column will be deleted for all team members."
|
alert_line_2: "the column will be deleted for all team members."
|
||||||
delete: "Delete column"
|
delete: "Delete"
|
||||||
modal_parse:
|
modal_parse:
|
||||||
title: 'Import items'
|
title: 'Import items'
|
||||||
warning_1: 'Be careful when importing into Dropdown column/s! Each new unique cell value from the file will create a new Dropdown option. Maximum nr. of Dropdown options is %{limit}.'
|
warning_1: 'Be careful when importing into Dropdown column/s! Each new unique cell value from the file will create a new Dropdown option. Maximum nr. of Dropdown options is %{limit}.'
|
||||||
warning_2: 'Importing into file columns is not supported.'
|
warning_2: 'Importing into file columns is not supported.'
|
||||||
|
import: 'Import'
|
||||||
modal_import:
|
modal_import:
|
||||||
title: 'Import items'
|
title: 'Import items'
|
||||||
notice: 'You may upload .csv file (comma separated) or tab separated file (.txt or .tsv) or Excel file (.xlsx). First row should include header names, followed by rows with sample data.'
|
notice: 'You may upload .csv file (comma separated) or tab separated file (.txt or .tsv) or Excel file (.xlsx). First row should include header names, followed by rows with sample data.'
|
||||||
upload: 'Upload file'
|
upload: 'Upload'
|
||||||
js:
|
js:
|
||||||
permission_error: "You don't have permission to edit this item."
|
permission_error: "You don't have permission to edit this item."
|
||||||
not_found_error: "This inventory item does not exist."
|
not_found_error: "This inventory item does not exist."
|
||||||
|
@ -1024,8 +1028,9 @@ en:
|
||||||
error_flash: "Something went wrong! Please try again later."
|
error_flash: "Something went wrong! Please try again later."
|
||||||
index:
|
index:
|
||||||
manage_column: "Manage Columns"
|
manage_column: "Manage Columns"
|
||||||
new_column: "New"
|
new_column: "New Column"
|
||||||
no_column: "No columns"
|
no_column: "No columns"
|
||||||
|
delete_column: "Delete"
|
||||||
edit_column: "Edit"
|
edit_column: "Edit"
|
||||||
back_to_repository_html: "<span class='glyphicon glyphicon-chevron-left'></span> Back to %{repository}"
|
back_to_repository_html: "<span class='glyphicon glyphicon-chevron-left'></span> Back to %{repository}"
|
||||||
sidebar:
|
sidebar:
|
||||||
|
@ -1036,7 +1041,7 @@ en:
|
||||||
no_permission_title: "You don't have permission to create new inventory. Please contact your team administrator."
|
no_permission_title: "You don't have permission to create new inventory. Please contact your team administrator."
|
||||||
text: "You don't have any inventories."
|
text: "You don't have any inventories."
|
||||||
title: "Please create your first Inventory"
|
title: "Please create your first Inventory"
|
||||||
create_new_button: "Create New Inventory"
|
create_new_button: "New Inventory"
|
||||||
show:
|
show:
|
||||||
head_title: "Inventories | %{library}"
|
head_title: "Inventories | %{library}"
|
||||||
repository_row:
|
repository_row:
|
||||||
|
@ -1327,7 +1332,7 @@ en:
|
||||||
head_title: "My profile"
|
head_title: "My profile"
|
||||||
title: "My profile"
|
title: "My profile"
|
||||||
avatar_label: "Avatar"
|
avatar_label: "Avatar"
|
||||||
avatar_btn: "Edit avatar"
|
avatar_btn: "Edit Avatar"
|
||||||
avatar_title: "Change avatar"
|
avatar_title: "Change avatar"
|
||||||
avatar_edit_label: "Upload new avatar file"
|
avatar_edit_label: "Upload new avatar file"
|
||||||
avatar_submit: "Upload"
|
avatar_submit: "Upload"
|
||||||
|
@ -1392,7 +1397,7 @@ en:
|
||||||
one: "You are member of %{count} team."
|
one: "You are member of %{count} team."
|
||||||
other: "You are member of %{count} teams."
|
other: "You are member of %{count} teams."
|
||||||
no_teams: "You are not a member of any team."
|
no_teams: "You are not a member of any team."
|
||||||
new_team: "New team"
|
new_team: "New Team"
|
||||||
thead_name: "Team"
|
thead_name: "Team"
|
||||||
thead_role: "Role"
|
thead_role: "Role"
|
||||||
thead_created_at: "Created at"
|
thead_created_at: "Created at"
|
||||||
|
@ -1406,7 +1411,7 @@ en:
|
||||||
name_sublabel: "Pick a name that would best describe your team (e.g. 'University of ..., Department of ...')."
|
name_sublabel: "Pick a name that would best describe your team (e.g. 'University of ..., Department of ...')."
|
||||||
description_label: "Description"
|
description_label: "Description"
|
||||||
description_sublabel: "Describe your team."
|
description_sublabel: "Describe your team."
|
||||||
create: "Create team"
|
create: "Create"
|
||||||
edit:
|
edit:
|
||||||
header_created_at: "Created on:"
|
header_created_at: "Created on:"
|
||||||
header_created_by: "Created by:"
|
header_created_by: "Created by:"
|
||||||
|
@ -1451,7 +1456,7 @@ en:
|
||||||
destroy_uo_alert_line_1: "user will lose access to all content belonging to the team (including projects, tasks, protocols and activities);"
|
destroy_uo_alert_line_1: "user will lose access to all content belonging to the team (including projects, tasks, protocols and activities);"
|
||||||
destroy_uo_alert_line_2: "all projects in the team where user was the sole <b>Owner</b> will be reassigned onto you as a new owner;"
|
destroy_uo_alert_line_2: "all projects in the team where user was the sole <b>Owner</b> will be reassigned onto you as a new owner;"
|
||||||
destroy_uo_alert_line_3: "all repository protocols in the team belonging to user will be reassigned onto you."
|
destroy_uo_alert_line_3: "all repository protocols in the team belonging to user will be reassigned onto you."
|
||||||
destroy_uo_confirm: "Remove user"
|
destroy_uo_confirm: "Remove"
|
||||||
leave_flash: "Successfuly left team %{team}."
|
leave_flash: "Successfuly left team %{team}."
|
||||||
|
|
||||||
protocols:
|
protocols:
|
||||||
|
@ -1566,13 +1571,13 @@ en:
|
||||||
archive: "Archive"
|
archive: "Archive"
|
||||||
public_description: "Public protocols are visible and can be used by everyone from the team."
|
public_description: "Public protocols are visible and can be used by everyone from the team."
|
||||||
private_description: "Private protocols are only visible to you."
|
private_description: "Private protocols are only visible to you."
|
||||||
create_new: "Create new"
|
create_new: "New"
|
||||||
edit: "Edit"
|
edit: "Edit"
|
||||||
clone_btn: "Copy"
|
clone_btn: "Copy"
|
||||||
import: "Import"
|
import: "Import"
|
||||||
import_alt: " from SciNote protocol file(.eln)"
|
import_alt: " from SciNote protocol file(.eln)"
|
||||||
import_json: " from protocols.io file"
|
import_json: " from protocols.io file"
|
||||||
modal_import_json_upload: "Upload file"
|
modal_import_json_upload: "Upload"
|
||||||
modal_import_json_title: "Import protocols.io file"
|
modal_import_json_title: "Import protocols.io file"
|
||||||
modal_import_json_notice: "Upload your protocols.io protocol file"
|
modal_import_json_notice: "Upload your protocols.io protocol file"
|
||||||
export: "Export"
|
export: "Export"
|
||||||
|
@ -1601,7 +1606,7 @@ en:
|
||||||
no_teams:
|
no_teams:
|
||||||
title: "Your dashboard is empty!"
|
title: "Your dashboard is empty!"
|
||||||
text: "It seems you're not a member of any team. See team management to sort it out."
|
text: "It seems you're not a member of any team. See team management to sort it out."
|
||||||
btn: "Manage teams"
|
btn: "Manage Teams"
|
||||||
make_private_unauthorized: "You do not have permission to make selected protocols private."
|
make_private_unauthorized: "You do not have permission to make selected protocols private."
|
||||||
make_private_error: "Error occured while making selected protocols private."
|
make_private_error: "Error occured while making selected protocols private."
|
||||||
publish_unauthorized: "You do not have permission to publish selected protocols."
|
publish_unauthorized: "You do not have permission to publish selected protocols."
|
||||||
|
@ -1670,9 +1675,9 @@ en:
|
||||||
steps:
|
steps:
|
||||||
completed: 'Completed'
|
completed: 'Completed'
|
||||||
uncompleted: 'Uncompleted'
|
uncompleted: 'Uncompleted'
|
||||||
expand_label: "Expand all"
|
expand_label: "Expand All"
|
||||||
collapse_label: "Collapse all"
|
collapse_label: "Collapse All"
|
||||||
new_step: "Add new"
|
new_step: "New Step"
|
||||||
subtitle: "Protocol steps"
|
subtitle: "Protocol steps"
|
||||||
no_steps: "Protocol has no steps."
|
no_steps: "Protocol has no steps."
|
||||||
published_on: "Published on <em>%{timestamp}</em> by <em>%{user}</em>"
|
published_on: "Published on <em>%{timestamp}</em> by <em>%{user}</em>"
|
||||||
|
@ -1692,8 +1697,8 @@ en:
|
||||||
edit_title: "Edit step"
|
edit_title: "Edit step"
|
||||||
delete_title: "Delete step"
|
delete_title: "Delete step"
|
||||||
duplicate_title: "Duplicate step"
|
duplicate_title: "Duplicate step"
|
||||||
complete_title: "Complete step"
|
complete_title: "Complete Step"
|
||||||
uncomplete_title: "Uncomplete step"
|
uncomplete_title: "Uncomplete Step"
|
||||||
new:
|
new:
|
||||||
add_step_title: "Add new step"
|
add_step_title: "Add new step"
|
||||||
tab_checklists: "Checklists"
|
tab_checklists: "Checklists"
|
||||||
|
@ -1737,10 +1742,10 @@ en:
|
||||||
heading: "Invite more people to start using sciNote."
|
heading: "Invite more people to start using sciNote."
|
||||||
input_subtitle: "Input one or multiple emails, confirm each email with ENTER key."
|
input_subtitle: "Input one or multiple emails, confirm each email with ENTER key."
|
||||||
invite_to_team_heading: "Invite users to my team:"
|
invite_to_team_heading: "Invite users to my team:"
|
||||||
invite_btn: "Invite user/s"
|
invite_btn: "Invite Users"
|
||||||
invite_guest: "as Guest/s"
|
invite_guest: "As Guests"
|
||||||
invite_user: "as Normal user/s"
|
invite_user: "As Normal Users"
|
||||||
invite_admin: "as Administrator/s"
|
invite_admin: "As Administrators"
|
||||||
results:
|
results:
|
||||||
heading: "Invitation results:"
|
heading: "Invitation results:"
|
||||||
user_exists: "User is already a member of sciNote."
|
user_exists: "User is already a member of sciNote."
|
||||||
|
@ -1825,7 +1830,7 @@ en:
|
||||||
from_clipboard:
|
from_clipboard:
|
||||||
modal_title: 'Add image from clipboard'
|
modal_title: 'Add image from clipboard'
|
||||||
image_preview: 'Image preview'
|
image_preview: 'Image preview'
|
||||||
add_image: 'Add image'
|
add_image: 'Add'
|
||||||
file_name: 'File name'
|
file_name: 'File name'
|
||||||
file_name_placeholder: 'Image'
|
file_name_placeholder: 'Image'
|
||||||
atwho:
|
atwho:
|
||||||
|
|
|
@ -16,7 +16,7 @@ Feature: Sign up
|
||||||
Then I fill the sign up form with
|
Then I fill the sign up form with
|
||||||
| Full name | Email | Password | Password confirmation | Team name |
|
| Full name | Email | Password | Password confirmation | Team name |
|
||||||
| Magnus | tusk@gmail.com | asdf1234 | asdf1234 | SpliceGirls |
|
| Magnus | tusk@gmail.com | asdf1234 | asdf1234 | SpliceGirls |
|
||||||
And I click "Sign up" button
|
And I click on "Sign up"
|
||||||
Then I should see "has already been taken"
|
Then I should see "has already been taken"
|
||||||
|
|
||||||
@javascript
|
@javascript
|
||||||
|
@ -25,7 +25,7 @@ Feature: Sign up
|
||||||
Then I fill the sign up form with
|
Then I fill the sign up form with
|
||||||
| Full name | Email | Password | Password confirmation | Team name |
|
| Full name | Email | Password | Password confirmation | Team name |
|
||||||
| Magnus | magnus@gmail.com | asdf1234 | asdf1234 | SpliceGirls |
|
| Magnus | magnus@gmail.com | asdf1234 | asdf1234 | SpliceGirls |
|
||||||
And I click "Sign up" button
|
And I click on "Sign up"
|
||||||
Then I should see "SpliceGirls"
|
Then I should see "SpliceGirls"
|
||||||
And I should be on homepage
|
And I should be on homepage
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ Feature: Sign up
|
||||||
Then I fill the sign up form with
|
Then I fill the sign up form with
|
||||||
| Full name | Email | Password | Password confirmation | Team name |
|
| Full name | Email | Password | Password confirmation | Team name |
|
||||||
| Magnus | magnus@gmail.com | asdf1234 | asdf1234567 | SpliceGirls |
|
| Magnus | magnus@gmail.com | asdf1234 | asdf1234567 | SpliceGirls |
|
||||||
And I click "Sign up" button
|
And I click on "Sign up"
|
||||||
Then I should see "doesn't match Password"
|
Then I should see "doesn't match Password"
|
||||||
|
|
||||||
@javascript
|
@javascript
|
||||||
|
@ -44,5 +44,5 @@ Feature: Sign up
|
||||||
Then I fill the sign up form with
|
Then I fill the sign up form with
|
||||||
| Full name | Email | Password | Password confirmation |
|
| Full name | Email | Password | Password confirmation |
|
||||||
| Magnus | magnus@gmail.com | asdf1234 | asdf1234 |
|
| Magnus | magnus@gmail.com | asdf1234 | asdf1234 |
|
||||||
And I click "Sign up" button
|
And I click on "Sign up"
|
||||||
Then I should see "is too short (minimum is 2 characters)"
|
Then I should see "is too short (minimum is 2 characters)"
|
||||||
|
|
|
@ -23,7 +23,7 @@ Scenario: Unsuccessful avatar image upload, file is too big
|
||||||
Given I'm on the profile page
|
Given I'm on the profile page
|
||||||
Then I click on image within ".avatar-container" element
|
Then I click on image within ".avatar-container" element
|
||||||
And I attach a "Moon.png" file to "user_avatar" field
|
And I attach a "Moon.png" file to "user_avatar" field
|
||||||
And I click "Upload" button
|
And I click on "Upload"
|
||||||
And I should see "Your avatar file cannot be larger than 0.2 MB. (Please try again with a smaller file.)" error message
|
And I should see "Your avatar file cannot be larger than 0.2 MB. (Please try again with a smaller file.)" error message
|
||||||
|
|
||||||
@javascript
|
@javascript
|
||||||
|
@ -31,7 +31,7 @@ Scenario: Unsuccessful avatar image upload, file is invalid
|
||||||
Given I'm on the profile page
|
Given I'm on the profile page
|
||||||
Then I click on image within ".avatar-container" element
|
Then I click on image within ".avatar-container" element
|
||||||
And I attach a "File.txt" file to "user_avatar" field
|
And I attach a "File.txt" file to "user_avatar" field
|
||||||
And I click "Upload" button
|
And I click on "Upload"
|
||||||
And I should see "Avatar content type is invalid" error message
|
And I should see "Avatar content type is invalid" error message
|
||||||
|
|
||||||
@javascript
|
@javascript
|
||||||
|
@ -47,7 +47,7 @@ Scenario: Successfully changes user full name
|
||||||
Given I'm on the profile page
|
Given I'm on the profile page
|
||||||
Then I click on Edit on ".settings-page-full-name" input field
|
Then I click on Edit on ".settings-page-full-name" input field
|
||||||
And I fill in "Karli Novak Novakovic" in ".settings-page-full-name" input field
|
And I fill in "Karli Novak Novakovic" in ".settings-page-full-name" input field
|
||||||
Then I click "Update" button
|
Then I click "Save" button
|
||||||
And I should see "Karli Novak Novakovic" in ".settings-page-full-name" input field
|
And I should see "Karli Novak Novakovic" in ".settings-page-full-name" input field
|
||||||
|
|
||||||
@javascript
|
@javascript
|
||||||
|
@ -55,7 +55,7 @@ Scenario: Unsuccessfully changes user initials, text is too long
|
||||||
Given I'm on the profile page
|
Given I'm on the profile page
|
||||||
Then I click on Edit on ".settings-page-initials" input field
|
Then I click on Edit on ".settings-page-initials" input field
|
||||||
And I fill in "KNOCK" in ".settings-page-initials" input field
|
And I fill in "KNOCK" in ".settings-page-initials" input field
|
||||||
Then I click "Update" button
|
Then I click "Save" button
|
||||||
And I should see "is too long (maximum is 4 characters)" error message
|
And I should see "is too long (maximum is 4 characters)" error message
|
||||||
|
|
||||||
@javascript
|
@javascript
|
||||||
|
@ -63,7 +63,7 @@ Scenario: Successfully changes user initials
|
||||||
Given I'm on the profile page
|
Given I'm on the profile page
|
||||||
Then I click on Edit on ".settings-page-initials" input field
|
Then I click on Edit on ".settings-page-initials" input field
|
||||||
And I fill in "KN" in ".settings-page-initials" input field
|
And I fill in "KN" in ".settings-page-initials" input field
|
||||||
Then I click "Update" button
|
Then I click "Save" button
|
||||||
And I should see "KN" in ".settings-page-initials" input field
|
And I should see "KN" in ".settings-page-initials" input field
|
||||||
|
|
||||||
@javascript
|
@javascript
|
||||||
|
@ -72,7 +72,7 @@ Scenario: Successfully changes user email
|
||||||
Then I click on Edit on ".settings-page-email" input field
|
Then I click on Edit on ".settings-page-email" input field
|
||||||
And I change "nonadmin@myorg.com" with "user@myorg.com" email
|
And I change "nonadmin@myorg.com" with "user@myorg.com" email
|
||||||
And I fill in "mypassword1234" in "#edit-email-current-password" field of ".settings-page-email" form
|
And I fill in "mypassword1234" in "#edit-email-current-password" field of ".settings-page-email" form
|
||||||
Then I click "Update" button
|
Then I click "Save" button
|
||||||
And I should see "user@myorg.com" in ".settings-page-email" input field
|
And I should see "user@myorg.com" in ".settings-page-email" input field
|
||||||
|
|
||||||
@javascript
|
@javascript
|
||||||
|
@ -82,7 +82,7 @@ Scenario: Unsuccessful Password Change, password is too short
|
||||||
And I fill in "mypassword1234" in "#edit-password-current-password" field of ".settings-page-change-password" form
|
And I fill in "mypassword1234" in "#edit-password-current-password" field of ".settings-page-change-password" form
|
||||||
And I fill in "mypass" in "#user_password" field of ".settings-page-change-password" form
|
And I fill in "mypass" in "#user_password" field of ".settings-page-change-password" form
|
||||||
And I fill in "mypass" in "#user_password_confirmation" field of ".settings-page-change-password" form
|
And I fill in "mypass" in "#user_password_confirmation" field of ".settings-page-change-password" form
|
||||||
Then I click "Update" button
|
Then I click "Save" button
|
||||||
And I should see "is too short (minimum is 8 characters)"
|
And I should see "is too short (minimum is 8 characters)"
|
||||||
|
|
||||||
@javascript
|
@javascript
|
||||||
|
@ -92,7 +92,7 @@ Scenario: Unsuccessful Password Change, passwords does not match
|
||||||
And I fill in "mypassword1234" in "#edit-password-current-password" field of ".settings-page-change-password" form
|
And I fill in "mypassword1234" in "#edit-password-current-password" field of ".settings-page-change-password" form
|
||||||
And I fill in "mypassword5678" in "#user_password" field of ".settings-page-change-password" form
|
And I fill in "mypassword5678" in "#user_password" field of ".settings-page-change-password" form
|
||||||
And I fill in "mypassword56788" in "#user_password_confirmation" field of ".settings-page-change-password" form
|
And I fill in "mypassword56788" in "#user_password_confirmation" field of ".settings-page-change-password" form
|
||||||
Then I click "Update" button
|
Then I click "Save" button
|
||||||
And I should see "doesn't match"
|
And I should see "doesn't match"
|
||||||
|
|
||||||
@javascript
|
@javascript
|
||||||
|
@ -102,7 +102,7 @@ Scenario: Unsuccessful Password Change, current password is invalid
|
||||||
And I fill in "mypassword123" in "#edit-password-current-password" field of ".settings-page-change-password" form
|
And I fill in "mypassword123" in "#edit-password-current-password" field of ".settings-page-change-password" form
|
||||||
And I fill in "mypassword5678" in "#user_password" field of ".settings-page-change-password" form
|
And I fill in "mypassword5678" in "#user_password" field of ".settings-page-change-password" form
|
||||||
And I fill in "mypassword5678" in "#user_password_confirmation" field of ".settings-page-change-password" form
|
And I fill in "mypassword5678" in "#user_password_confirmation" field of ".settings-page-change-password" form
|
||||||
Then I click "Update" button
|
Then I click "Save" button
|
||||||
And I should see "is invalid"
|
And I should see "is invalid"
|
||||||
|
|
||||||
@javascript
|
@javascript
|
||||||
|
@ -112,5 +112,5 @@ Scenario: Successful Password Change
|
||||||
And I fill in "mypassword1234" in "#edit-password-current-password" field of ".settings-page-change-password" form
|
And I fill in "mypassword1234" in "#edit-password-current-password" field of ".settings-page-change-password" form
|
||||||
And I fill in "mypassword5678" in "#user_password" field of ".settings-page-change-password" form
|
And I fill in "mypassword5678" in "#user_password" field of ".settings-page-change-password" form
|
||||||
And I fill in "mypassword5678" in "#user_password_confirmation" field of ".settings-page-change-password" form
|
And I fill in "mypassword5678" in "#user_password_confirmation" field of ".settings-page-change-password" form
|
||||||
Then I click "Update" button
|
Then I click "Save" button
|
||||||
And I should see "Password successfully updated." flash message
|
And I should see "Password successfully updated." flash message
|
||||||
|
|
|
@ -20,7 +20,7 @@ Feature: Team settings
|
||||||
Given I'm on "BioSistemika Process" team settings page
|
Given I'm on "BioSistemika Process" team settings page
|
||||||
Then I click on team title
|
Then I click on team title
|
||||||
And I change "BioSistemika Process" with "BioSistemika Process Company" in "team-name-modal" input field
|
And I change "BioSistemika Process" with "BioSistemika Process Company" in "team-name-modal" input field
|
||||||
Then I click "Update" button
|
Then I click "Save" button
|
||||||
And I should see "BioSistemika Process Company" on "#team-name" element
|
And I should see "BioSistemika Process Company" on "#team-name" element
|
||||||
|
|
||||||
@javascript
|
@javascript
|
||||||
|
@ -28,7 +28,7 @@ Feature: Team settings
|
||||||
Given I'm on "BioSistemika Process" team settings page
|
Given I'm on "BioSistemika Process" team settings page
|
||||||
Then I click on ".description-label" element
|
Then I click on ".description-label" element
|
||||||
And I fill in "I was on Triglav one summer." in "team_description" textarea field
|
And I fill in "I was on Triglav one summer." in "team_description" textarea field
|
||||||
Then I click "Update" button
|
Then I click "Save" button
|
||||||
And I should see "I was on Triglav one summer." on ".description-label" element
|
And I should see "I was on Triglav one summer." on ".description-label" element
|
||||||
|
|
||||||
@javascript
|
@javascript
|
||||||
|
@ -36,7 +36,7 @@ Feature: Team settings
|
||||||
Given I'm on "BioSistemika Process" team settings page
|
Given I'm on "BioSistemika Process" team settings page
|
||||||
Then I click on ".description-label" element
|
Then I click on ".description-label" element
|
||||||
And I change "Lorem ipsum dolor sit amet, consectetuer adipiscing eli." with "I was on Triglav one summer." in "team_description" textarea field
|
And I change "Lorem ipsum dolor sit amet, consectetuer adipiscing eli." with "I was on Triglav one summer." in "team_description" textarea field
|
||||||
Then I click "Update" button
|
Then I click "Save" button
|
||||||
And I should see "I was on Triglav one summer." on ".description-label" element
|
And I should see "I was on Triglav one summer." on ".description-label" element
|
||||||
|
|
||||||
@javascript
|
@javascript
|
||||||
|
@ -66,5 +66,5 @@ Feature: Team settings
|
||||||
Then I click on "suazana@myorg.com" action button within Team members table
|
Then I click on "suazana@myorg.com" action button within Team members table
|
||||||
And I click "Remove" link within "suazana@myorg.com" actions dropdown within Team members table
|
And I click "Remove" link within "suazana@myorg.com" actions dropdown within Team members table
|
||||||
And I should see "Are you sure you wish to remove user Suazana Novak from team BioSistemika Process?"
|
And I should see "Are you sure you wish to remove user Suazana Novak from team BioSistemika Process?"
|
||||||
Then I click "Remove user" button
|
Then I click "Remove" button
|
||||||
Then I should not see "suazana@myorg.com" in Team members table
|
Then I should not see "suazana@myorg.com" in Team members table
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
When(/^I click "(.+)" button$/) do |button|
|
When(/^I click "(.+)" button$/) do |button|
|
||||||
click_on(button)
|
click_button(button)
|
||||||
end
|
end
|
||||||
|
|
||||||
Given(/^Show me the page$/) do
|
Given(/^Show me the page$/) do
|
||||||
|
|
Loading…
Reference in a new issue