Patch #42521 » 0001v2-Add-daialog-controller-and-dialog-dispatcher-control.patch
| app/assets/images/icons.svg | ||
|---|---|---|
|
<path d="M3 5a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-14z"/>
|
||
|
<path d="M9 9l6 6m0 -6l-6 6"/>
|
||
|
</symbol>
|
||
|
<symbol viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round" id="icon--close-dialog">
|
||
|
<path d="M18 6l-12 12" />
|
||
|
<path d="M6 6l12 12" />
|
||
|
</symbol>
|
||
|
<symbol viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round" id="icon--comment">
|
||
|
<path d="M8 9h8"/>
|
||
|
<path d="M8 13h6"/>
|
||
| app/assets/stylesheets/application.css | ||
|---|---|---|
|
#login-form a.lost_password {float:right; font-weight:normal;}
|
||
|
#login-form h3 {text-align: center;}
|
||
|
div.modal { border-radius:5px; background:#fff; z-index:50; padding:4px;}
|
||
|
div.modal h3.title {display:none;}
|
||
|
div.modal { position:absolute; border-radius:5px; background:#fff; padding:7px 14px; border: 1px solid #c5c5c5; color: #333; font-family: Arial,Helvetica,sans-serif; font-size: 1em; outline: 0; z-index: 100}
|
||
|
div.modal p.buttons {margin-bottom:0;}
|
||
|
div.modal .box p {margin: 0.3em 0;}
|
||
|
div.modal .handle {display:flex; align-items: center;height:1.5em; cursor: move; padding: .5em; border-radius: 3px; border: 1px solid #ddd; background: #e9e9e9; color: #333; font-weight: bold; touch-action: none}
|
||
|
div.modal .handle .title {margin: .1em 0; white-space: nowrap; width: 90%; overflow: hidden; text-overflow: ellipsis}
|
||
|
div.modal .handle button {margin: 0 0 0 auto;padding:0;width: 20px; height: 20px;fill: #454545; text-decoration: none; border: 1px solid #c5c5c5; background: #f6f6f6; font-weight: normal;box-sizing: border-box; white-space: nowrap; line-height: normal; cursor: pointer; text-align: center; user-select: none; overflow: visible;}
|
||
|
div.modal .handle button svg { stroke-width: 4; stroke: #999 }
|
||
|
div.modal .handle button .icon {position: absolute; top: 50%; left: 50%; margin-top:-8px; margin-left: -8px; width: 16px; height: 16px; display: inline-block; vertical-align: middle; overflow: hidden; background-repeat: no-repeat}
|
||
|
.modal-backdrop-open { position: fixed; inset: 0; background: rgba(0,0,0,0.7); display: flex; align-items: center; justify-content: center; }
|
||
|
.clear:after{ content: "."; display: block; height: 0; clear: both; visibility: hidden; }
|
||
| ... | ... | |
|
#issue_tree .issue > td.assigned_to, #relations .issue > td.assigned_to {
|
||
|
white-space: nowrap;
|
||
|
}
|
||
|
#trackers_description, #issue_statuses_description {display:none;}
|
||
|
#trackers_description dt, #issue_statuses_description dt {font-weight: bold; text-decoration: underline;}
|
||
|
#trackers_description dd, #issue_statuses_description dd {margin: 0; padding: 0 0 1em 0;}
|
||
| app/helpers/application_helper.rb | ||
|---|---|---|
|
)
|
||
|
end
|
||
|
def remote_dialog(width: nil, modal: true, title: nil, partial: nil, locals: {}, &block)
|
||
|
data = {
|
||
|
controller: 'dialog',
|
||
|
width: width,
|
||
|
dialog_modal_value: modal,
|
||
|
dialog_dispatcher_target: 'show'
|
||
|
}
|
||
|
block = -> { render partial: partial, locals: locals } if partial
|
||
|
render layout: 'common/dialog', locals: { id: nil, title: title, data: data }, formats: [:html], &block
|
||
|
end
|
||
|
private
|
||
|
def wiki_helper
|
||
| ... | ... | |
|
wiki_pages: auto_complete_wiki_pages_path(project_id: project, q: ''),
|
||
|
}
|
||
|
end
|
||
|
def modal_dialog(id, title, data: nil, &block)
|
||
|
content_for(:modal) { render 'common/dialog', { id: id, title: title, data: data }, &block }
|
||
|
end
|
||
|
def dialog_dispatcher(element_id, width)
|
||
|
{
|
||
|
controller: 'dialog-dispatcher',
|
||
|
action: 'dialog-dispatcher#show',
|
||
|
dialog_dispatcher_dialog_outlet: "##{element_id}",
|
||
|
dialog_dispatcher_width_param: width
|
||
|
}
|
||
|
end
|
||
|
end
|
||
| app/javascript/controllers/dialog_controller.js | ||
|---|---|---|
|
/**
|
||
|
* Redmine - project management software
|
||
|
* Copyright (C) 2006- Jean-Philippe Lang
|
||
|
* This code is released under the GNU General Public License.
|
||
|
*/
|
||
|
import { Controller } from "@hotwired/stimulus"
|
||
|
// Connects to data-controller="dialog"
|
||
|
export default class extends Controller {
|
||
|
static targets = [ 'handler', 'cancel' ]
|
||
|
static values = {
|
||
|
modal: { type: Boolean, default: true },
|
||
|
wrapperId: { type: String, default: 'wrapper' }
|
||
|
}
|
||
|
connect() {
|
||
|
this.dragging = null;
|
||
|
this.backdrop = null;
|
||
|
const rect = this.element.getBoundingClientRect();
|
||
|
this._pos = {x: rect.left, y: rect.top}
|
||
|
this.element[`${this.identifier}_controller`] = this;
|
||
|
this.wrapper = document.getElementById(this.wrapperIdValue)
|
||
|
}
|
||
|
start(e) {
|
||
|
if (this.cancelTarget.contains(e.target)) return;
|
||
|
if (e.button !== 0) return; // left button only
|
||
|
const client = this.eventToCoordinates(e);
|
||
|
this.dragging = {dx: this.pos.x - client.x, dy: this.pos.y - client.y};
|
||
|
this.handlerTarget.classList.add('dragging');
|
||
|
this.handlerTarget.setPointerCapture(e.pointerId);
|
||
|
this.handlerTarget.style.userSelect = 'none'; // if there's text
|
||
|
this.handlerTarget.style.webkitUserSelect = 'none'; // safari
|
||
|
}
|
||
|
end(e) {
|
||
|
this.dragging = null;
|
||
|
this.handlerTarget.classList.remove('dragging');
|
||
|
this.handlerTarget.style.userSelect = ''; // if there's text
|
||
|
this.handlerTarget.style.webkitUserSelect = ''; // safari
|
||
|
}
|
||
|
move(e) {
|
||
|
if (!this.dragging) return;
|
||
|
const client = this.eventToCoordinates(e);
|
||
|
this.pos = {x: client.x + this.dragging.dx, y: client.y + this.dragging.dy};
|
||
|
}
|
||
|
eventToCoordinates(e) {
|
||
|
return {x: e.clientX, y: e.clientY}
|
||
|
}
|
||
|
get pos() { return this._pos }
|
||
|
set pos(p) {
|
||
|
this._pos = p;
|
||
|
this.element.style.transform = `translate(${this._pos.x}px,${this._pos.y}px)`;
|
||
|
}
|
||
|
show({width = undefined, backdrop = 'modal-backdrop'}) {
|
||
|
this.element.style.display = '';
|
||
|
if (width) {
|
||
|
this.element.style.width = width;
|
||
|
}
|
||
|
if (this.modalValue) {
|
||
|
this.backdrop = document.getElementById(backdrop)
|
||
|
this.backdrop.classList.add('modal-backdrop-open')
|
||
|
this.wrapper.inert = true
|
||
|
}
|
||
|
}
|
||
|
hide(e) {
|
||
|
this.hideDialog()
|
||
|
}
|
||
|
cancel(e) {
|
||
|
e.preventDefault();
|
||
|
this.hideDialog()
|
||
|
}
|
||
|
hideDialog() {
|
||
|
this.element.style.display = 'none'
|
||
|
if (this.backdrop !== null) {
|
||
|
this.backdrop.classList.remove('modal-backdrop-open')
|
||
|
}
|
||
|
if (this.wrapper !== null) {
|
||
|
this.wrapper.inert = false
|
||
|
}
|
||
|
}
|
||
|
}
|
||
| app/javascript/controllers/dialog_dispatcher_controller.js | ||
|---|---|---|
|
/**
|
||
|
* Redmine - project management software
|
||
|
* Copyright (C) 2006- Jean-Philippe Lang
|
||
|
* This code is released under the GNU General Public License.
|
||
|
*/
|
||
|
import { Controller } from "@hotwired/stimulus"
|
||
|
// Connects to data-controller="dialog-dispatcher"
|
||
|
export default class extends Controller {
|
||
|
static targets = [ 'show', 'hide' ];
|
||
|
static outlets = [ 'dialog' ];
|
||
|
show(e) {
|
||
|
e.preventDefault();
|
||
|
this.dialog = this.dialogOutlet
|
||
|
this.dialog.show({width: e.params.width})
|
||
|
}
|
||
|
showTargetConnected(dialog) {
|
||
|
this.dialog = dialog.dialog_controller
|
||
|
this.dialog.show({width: dialog.dataset.width, backdrop: this.element.id})
|
||
|
}
|
||
|
hideTargetConnected(element) {
|
||
|
this.dialog.hide()
|
||
|
element.remove()
|
||
|
}
|
||
|
}
|
||
| app/views/common/_dialog.html.erb | ||
|---|---|---|
|
<%= tag.div style: 'display:none', class: 'modal', id: id, data: (data || { controller: 'dialog' }) do %>
|
||
|
<div class="handle" data-action="pointerdown->dialog#start pointerup->dialog#end pointercancel->dialog#end pointermove->dialog#move touchstart->dialog#noop dragstart->dialog#noop" data-dialog-target="handler">
|
||
|
<span class="title"><%= title %></span>
|
||
|
<%= tag.button type: "button", title: l(:button_close_dialog), data: {action: "dialog#cancel", dialog_target: 'cancel'} do %>
|
||
|
<%= sprite_icon 'close-dialog'%>
|
||
|
<% end %>
|
||
|
</div>
|
||
|
<div>
|
||
|
<%= yield %>
|
||
|
</div>
|
||
|
<% end %>
|
||
| app/views/email_addresses/index.js.erb | ||
|---|---|---|
|
$('#ajax-modal').html('<%= escape_javascript(render :partial => 'email_addresses/index') %>');
|
||
|
showModal('ajax-modal', '600px', '<%= escape_javascript l(:label_email_address_plural) %>');
|
||
|
<% html = remote_dialog(width: '600px', title: l(:label_email_address_plural), partial: 'email_addresses/index') %>
|
||
|
$('#ajax-modal').html('<%= escape_javascript(html) %>');
|
||
|
$('#email_address_address').focus();
|
||
| app/views/groups/_new_users_modal.html.erb | ||
|---|---|---|
|
<h3 class="title"><%= l(:label_user_new) %></h3>
|
||
|
<%= form_for(@group, :url => group_users_path(@group), :remote => true, :method => :post) do |f| %>
|
||
|
<%= render :partial => 'new_users_form' %>
|
||
|
<p class="buttons">
|
||
|
<%= submit_tag l(:button_add) %>
|
||
|
<%= link_to_function l(:button_cancel), "hideModal(this);" %>
|
||
|
<%= link_to l(:button_cancel), '#', data: { action: 'dialog#cancel' } %>
|
||
|
</p>
|
||
|
<% end %>
|
||
| app/views/groups/add_users.js.erb | ||
|---|---|---|
|
hideModal();
|
||
|
$('#ajax-modal').append('<template data-dialog-dispatcher-target="hide"></template>')
|
||
|
$('#tab-content-users').html('<%= escape_javascript(render :partial => 'groups/users') %>');
|
||
|
<% @users.each do |user| %>
|
||
|
$('#user-<%= user.id %>').effect("highlight");
|
||
| app/views/groups/new_users.js.erb | ||
|---|---|---|
|
$('#ajax-modal').html('<%= escape_javascript(render :partial => 'groups/new_users_modal') %>');
|
||
|
showModal('ajax-modal', '700px');
|
||
|
<% html = remote_dialog(width: '700px', title: l(:label_user_new), partial: 'groups/new_users_modal') %>
|
||
|
$('#ajax-modal').html('<%= escape_javascript(html) %>');
|
||
| app/views/issue_categories/_new_modal.html.erb | ||
|---|---|---|
|
<h3 class="title"><%=l(:label_issue_category_new)%></h3>
|
||
|
<%= labelled_form_for @category, :as => 'issue_category', :url => project_issue_categories_path(@project), :remote => true do |f| %>
|
||
|
<%= render :partial => 'issue_categories/form', :locals => { :f => f } %>
|
||
|
<p class="buttons">
|
||
|
<%= submit_tag l(:button_create), :name => nil %>
|
||
|
<%= link_to_function l(:button_cancel), "hideModal(this);" %>
|
||
|
<%= submit_tag l(:button_create), name: nil %>
|
||
|
<%= link_to l(:button_cancel), '#', data: { action: 'dialog#cancel' } %>
|
||
|
</p>
|
||
|
<% end %>
|
||
| app/views/issue_categories/create.js.erb | ||
|---|---|---|
|
hideModal();
|
||
|
$('#ajax-modal').append('<template data-dialog-dispatcher-target="hide"></template>')
|
||
|
<% select = content_tag('select', content_tag('option') + options_from_collection_for_select(@project.issue_categories, 'id', 'name', @category.id), :id => 'issue_category_id', :name => 'issue[category_id]') %>
|
||
|
$('#issue_category_id').replaceWith('<%= escape_javascript(select) %>');
|
||
| app/views/issue_categories/new.js.erb | ||
|---|---|---|
|
$('#ajax-modal').html('<%= escape_javascript(render :partial => 'issue_categories/new_modal') %>');
|
||
|
showModal('ajax-modal', '600px');
|
||
|
<% html = remote_dialog(width: '600px', title: l(:label_issue_category_new), partial: 'issue_categories/new_modal', locals: {watchables: @watchables, users: @users}) %>
|
||
|
$('#ajax-modal').html('<%= escape_javascript(html) %>');
|
||
| app/views/issues/_attributes.html.erb | ||
|---|---|---|
|
<%= f.select :status_id, (@allowed_statuses.collect {|p| [p.name, p.id]}), {:required => true},
|
||
|
:onchange => "updateIssueFrom('#{escape_javascript(update_issue_form_path(@project, @issue))}', this)",
|
||
|
:title => @issue.status.description %>
|
||
|
<%= content_tag 'a', sprite_icon('help', l(:label_open_issue_statuses_description)), :class => 'icon-only icon-help', :title => l(:label_open_issue_statuses_description), :onclick => "showModal('issue_statuses_description', '500px'); return false;", :href => '#' if @allowed_statuses.any? {|s| s.description.present? } %>
|
||
|
<%= link_to sprite_icon('help', l(:label_open_issue_statuses_description)), '#', class: 'icon-only icon-help', title: l(:label_open_issue_statuses_description), data: dialog_dispatcher('issue_statuses_description', '500px') if @allowed_statuses.any? {|s| s.description.present? } %>
|
||
|
<% if @issue.transition_warning %>
|
||
|
<span class="icon-only icon-warning" title="<%= @issue.transition_warning %>"><%= sprite_icon('warning', l(:notice_issue_not_closable_by_open_tasks)) %></span>
|
||
|
<% end %>
|
||
|
<%= render partial: 'issues/issue_status_description', locals: { issue_statuses: @allowed_statuses } %>
|
||
|
</p>
|
||
|
<%= render partial: 'issues/issue_status_description', locals: { issue_statuses: @allowed_statuses } %>
|
||
|
<%= hidden_field_tag 'was_default_status', @issue.status_id, :id => nil if @issue.status == @issue.default_status %>
|
||
|
<% else %>
|
||
|
<p><label><%= l(:field_status) %></label> <%= @issue.status %></p>
|
||
| app/views/issues/_form.html.erb | ||
|---|---|---|
|
<%= f.select :tracker_id, trackers_options_for_select(@issue), {:required => true},
|
||
|
:onchange => "updateIssueFrom('#{escape_javascript update_issue_form_path(@project, @issue)}', this)",
|
||
|
:title => @issue.tracker.description %>
|
||
|
<%= content_tag 'a', sprite_icon('help', l(:label_open_trackers_description)), :class => 'icon-only icon-help', :title => l(:label_open_trackers_description), :onclick => "showModal('trackers_description', '500px'); return false;", :href => '#' if trackers_for_select(@issue).any? {|t| t.description.present? } %>
|
||
|
</p>
|
||
|
<%= link_to sprite_icon('help', l(:label_open_trackers_description)),
|
||
|
'#', class: 'icon-only icon-help', title: l(:label_open_trackers_description), data: dialog_dispatcher('trackers_description', '500px') if trackers_for_select(@issue).any? {|t| t.description.present? } %>
|
||
|
<%= render partial: 'issues/trackers_description', locals: {trackers: trackers_for_select(@issue)} %>
|
||
|
</p>
|
||
|
<% end %>
|
||
|
<% if @issue.safe_attribute? 'subject' %>
|
||
| app/views/issues/_issue_status_description.html.erb | ||
|---|---|---|
|
<% if issue_statuses.any? {|s| s.description.present? } %>
|
||
|
<div class="modal" id="issue_statuses_description">
|
||
|
<h3 class="title"><%= l(:label_issue_statuses_description) %></h3>
|
||
|
<dl>
|
||
|
<%= modal_dialog "issue_statuses_description", l(:label_issue_statuses_description) do %>
|
||
|
<dl>
|
||
|
<% issue_statuses.each do |issue_status| %>
|
||
|
<% if issue_status.description.present? %>
|
||
|
<dt><%= content_tag 'a', issue_status.name, :onclick => "selectIssueStatus('#{issue_status.id}'); return false;", :href => '#', :title => l(:text_select_apply_issue_status) %></dt>
|
||
|
<dt><%= link_to issue_status.name, '#', onclick: "selectIssueStatus('#{issue_status.id}'); return false;", title: l(:text_select_apply_issue_status) %></dt>
|
||
|
<dd><%= issue_status.description %></dd>
|
||
|
<% end %>
|
||
|
<% end %>
|
||
|
</dl>
|
||
|
</div>
|
||
|
</dl>
|
||
|
<% end %>
|
||
|
<% end %>
|
||
|
<%= javascript_tag do %>
|
||
|
function selectIssueStatus(id) {
|
||
| ... | ... | |
|
target.attr("selected", false);
|
||
|
target.find('option[value="' + id + '"]').prop('selected', true);
|
||
|
target.trigger('change');
|
||
|
hideModal('#issue_statuses_description h3');
|
||
|
$('#issue_statuses_description').get(0).dialog_controller.hide();
|
||
|
}
|
||
|
<% end %>
|
||
| app/views/issues/_trackers_description.html.erb | ||
|---|---|---|
|
<% if trackers.any? {|t| t.description.present? } %>
|
||
|
<div class="modal" id="trackers_description">
|
||
|
<h3 class="title"><%= l(:label_trackers_description) %></h3>
|
||
|
<dl>
|
||
|
<%= modal_dialog "trackers_description", l(:label_trackers_description), data: { controller: 'dialog' } do %>
|
||
|
<dl>
|
||
|
<% trackers.each do |tracker| %>
|
||
|
<% if tracker.description.present? %>
|
||
|
<dt><%= content_tag 'a', tracker.name, :onclick => "selectTracker('#{tracker.id}'); return false;", :href => '#', :title => l(:text_select_apply_tracker) %></dt>
|
||
|
<dt><%= link_to tracker.name, '#', onclick: "selectTracker('#{tracker.id}'); return false;", title: l(:text_select_apply_tracker) %></dt>
|
||
|
<dd><%= tracker.description %></dd>
|
||
|
<% end %>
|
||
|
<% end %>
|
||
|
</dl>
|
||
|
</div>
|
||
|
</dl>
|
||
|
<% end %>
|
||
|
<% end %>
|
||
|
<%= javascript_tag do %>
|
||
|
function selectTracker(id) {
|
||
| ... | ... | |
|
target.attr("selected", false);
|
||
|
target.find('option[value="' + id + '"]').prop('selected', true);
|
||
|
target.trigger('change');
|
||
|
hideModal('#trackers_description h3');
|
||
|
$('#trackers_description').get(0).dialog_controller.hide();
|
||
|
}
|
||
|
<% end %>
|
||
| app/views/issues/index.html.erb | ||
|---|---|---|
|
<% end %>
|
||
|
<% other_formats_links do |f| %>
|
||
|
<%= f.link_to_with_query_parameters 'CSV', {}, :onclick => "showModal('csv-export-options', '350px'); return false;" %>
|
||
|
<%= f.link_to_with_query_parameters 'CSV', {}, data: dialog_dispatcher('csv-export-options', '350px') %>
|
||
|
<%= f.link_to_with_query_parameters 'PDF' %>
|
||
|
<%= f.link_to_with_query_parameters 'Atom', :key => User.current.atom_key %>
|
||
|
<% end %>
|
||
|
<div id="csv-export-options" style="display:none;">
|
||
|
<h3 class="title"><%= l(:label_export_options, :export_format => 'CSV') %></h3>
|
||
|
<% modal_dialog 'csv-export-options', l(:label_export_options, :export_format => 'CSV') do %>
|
||
|
<%= form_tag(_project_issues_path(@project, :format => 'csv'), :method => :get, :id => 'csv-export-form') do %>
|
||
|
<%= query_as_hidden_field_tags(@query) %>
|
||
|
<%= hidden_field_tag('query_name', @query.name) %>
|
||
| ... | ... | |
|
</p>
|
||
|
<% end %>
|
||
|
<p class="buttons">
|
||
|
<%= submit_tag l(:button_export), :name => nil, :onclick => "hideModal(this);", :data => { :disable_with => false } %>
|
||
|
<%= link_to_function l(:button_cancel), "hideModal(this);" %>
|
||
|
<%= submit_tag l(:button_export), name: nil, data: { disable_with: false, action: 'dialog#hide' } %>
|
||
|
<%= link_to l(:button_cancel), '#', data: { action: 'dialog#cancel' } %>
|
||
|
</p>
|
||
|
<% end %>
|
||
|
</div>
|
||
|
<% end %>
|
||
|
<% end %>
|
||
|
<%= call_hook(:view_issues_index_bottom, { :issues => @issues, :project => @project, :query => @query }) %>
|
||
| app/views/layouts/base.html.erb | ||
|---|---|---|
|
</div>
|
||
|
<div id="ajax-indicator" style="display:none;"><span><%= l(:label_loading) %></span></div>
|
||
|
<div id="ajax-modal" style="display:none;"></div>
|
||
|
<div id="icon-copy-source" style="display: none;"><%= sprite_icon('') %></div>
|
||
|
</div>
|
||
|
<%= call_hook :view_layouts_base_body_bottom %>
|
||
|
<div id="modal-backdrop">
|
||
|
<%= yield :modal %>
|
||
|
</div>
|
||
|
<div id="ajax-modal" data-controller="dialog-dispatcher"></div>
|
||
|
<div id="sudo-modal" data-controller="dialog-dispatcher"></div>
|
||
|
</body>
|
||
|
</html>
|
||
| app/views/members/_new_modal.html.erb | ||
|---|---|---|
|
<h3 class="title"><%= l(:label_member_new) %></h3>
|
||
|
<%= form_for @member, :as => :membership, :url => project_memberships_path(@project), :remote => true, :method => :post do |f| %>
|
||
|
<%= render :partial => 'new_form' %>
|
||
|
<p class="buttons">
|
||
|
<%= submit_tag l(:button_add), :id => 'member-add-submit' %>
|
||
|
<%= link_to_function l(:button_cancel), "hideModal(this);" %>
|
||
|
<%= link_to l(:button_cancel), '#', data: { action: 'dialog#cancel' } %>
|
||
|
</p>
|
||
|
<% end %>
|
||
| app/views/members/create.js.erb | ||
|---|---|---|
|
hideOnLoad();
|
||
|
<% if @members.present? && @members.all? {|m| m.valid? } %>
|
||
|
hideModal();
|
||
|
$('#ajax-modal').append('<template data-dialog-dispatcher-target="hide"></template>')
|
||
|
<% @members.each do |member| %>
|
||
|
$("#member-<%= member.id %>").effect("highlight");
|
||
|
<% end %>
|
||
| app/views/members/new.js.erb | ||
|---|---|---|
|
$('#ajax-modal').html('<%= escape_javascript(render :partial => 'members/new_modal') %>');
|
||
|
showModal('ajax-modal', '90%');
|
||
|
<% html = remote_dialog(width: '90%', title: l(:label_member_new), partial: 'members/new_modal') %>
|
||
|
$('#ajax-modal').html('<%= escape_javascript(html) %>');
|
||
| app/views/principal_memberships/_new_modal.html.erb | ||
|---|---|---|
|
<h3 class="title"><%= l(:label_add_projects) %></h3>
|
||
|
<%= form_for :membership, :remote => true, :url => user_memberships_path(@principal), :method => :post do |f| %>
|
||
|
<%= render :partial => 'new_form' %>
|
||
|
<p class="buttons">
|
||
|
<%= submit_tag l(:button_add), :name => nil %>
|
||
|
<%= link_to_function l(:button_cancel), "hideModal(this);" %>
|
||
|
<%= submit_tag l(:button_add), name: nil %>
|
||
|
<%= link_to l(:button_cancel), '#', data: { action: 'dialog#cancel' } %>
|
||
|
</p>
|
||
|
<% end %>
|
||
| app/views/principal_memberships/create.js.erb | ||
|---|---|---|
|
hideOnLoad();
|
||
|
<% if @members.present? && @members.all? {|m| m.persisted? } %>
|
||
|
hideModal();
|
||
|
$('#ajax-modal').append('<template data-dialog-dispatcher-target="hide"></template>')
|
||
|
<% @members.each do |member| %>
|
||
|
$("#member-<%= member.id %>").effect("highlight");
|
||
|
<% end %>
|
||
| app/views/principal_memberships/new.js.erb | ||
|---|---|---|
|
<% html = remote_dialog(width: '700px', title: l(:label_add_projects), partial: 'principal_memberships/new_modal') %>
|
||
|
$('#ajax-modal').html('<%= escape_javascript(render :partial => 'principal_memberships/new_modal') %>');
|
||
|
showModal('ajax-modal', '700px');
|
||
|
$('.projects-selection').on('click', 'input[type=checkbox]', function(e){
|
||
|
if (!$(this).is(':checked')) {
|
||
| app/views/projects/_list.html.erb | ||
|---|---|---|
|
<% end -%>
|
||
|
<span class="pagination"><%= pagination_links_full @entry_pages, @entry_count %></span>
|
||
|
<div id="csv-export-options" style="display:none;">
|
||
|
<div id="csv-export-options" style="display:none;" data-controller="dialog">
|
||
|
<h3 class="title"><%= l(:label_export_options, :export_format => 'CSV') %></h3>
|
||
|
<%= form_tag(projects_path(:format => 'csv'), :method => :get, :id => 'csv-export-form') do %>
|
||
|
<%= query_as_hidden_field_tags(@query) %>
|
||
| ... | ... | |
|
<%= export_csv_encoding_select_tag %>
|
||
|
<%= export_csv_separator_select_tag %>
|
||
|
<p class="buttons">
|
||
|
<%= submit_tag l(:button_export), :name => nil, :onclick => "hideModal(this);", :data => { :disable_with => false } %>
|
||
|
<%= link_to_function l(:button_cancel), "hideModal(this);" %>
|
||
|
<%= submit_tag l(:button_export), name: nil, data: { disable_with: false, action: 'dialog#hide' } %>
|
||
|
<%= link_to l(:button_cancel), '#', data: { action: 'dialog#cancel' } %>
|
||
|
</p>
|
||
|
<% end %>
|
||
|
</div>
|
||
| app/views/projects/index.html.erb | ||
|---|---|---|
|
<% other_formats_links do |f| %>
|
||
|
<% if @query.display_type == 'list' %>
|
||
|
<%= f.link_to_with_query_parameters 'CSV', {}, :onclick => "showModal('csv-export-options', '350px'); return false;" %>
|
||
|
<%= f.link_to_with_query_parameters 'CSV', {}, data: dialog_dispatcher('csv-export-options', '350px') %>
|
||
|
<% end %>
|
||
|
<%= f.link_to 'Atom', :url => {:key => User.current.atom_key} %>
|
||
|
<% end %>
|
||
| app/views/reports/_details.html.erb | ||
|---|---|---|
|
</tfoot>
|
||
|
</table>
|
||
|
<% other_formats_links do |f| %>
|
||
|
<%= f.link_to_with_query_parameters 'CSV', {}, :onclick => "showModal('csv-export-options', '330px'); return false;" %>
|
||
|
<%= f.link_to_with_query_parameters 'CSV', {}, data: dialog_dispatcher('csv-export-options', '330px') %>
|
||
|
<% end %>
|
||
|
<div id="csv-export-options" style="display: none;">
|
||
|
<h3 class="title"><%= l(:label_export_options, :export_format => 'CSV') %></h3>
|
||
|
<% modal_dialog "csv-export-options", l(:label_export_options, export_format: 'CSV') do %>
|
||
|
<%= form_tag(project_issues_report_details_path(@project, :detail => params[:detail], :format => 'csv'), :method => :get, :id => 'csv-export-form') do %>
|
||
|
<%= export_csv_encoding_select_tag %>
|
||
|
<%= export_csv_separator_select_tag %>
|
||
|
<p class="buttons">
|
||
|
<%= submit_tag l(:button_export), :name => nil, :onclick => 'hideModal(this);', :data => {:disable_with => false} %>
|
||
|
<%= link_to_function l(:button_cancel), 'hideModal(this);' %>
|
||
|
<%= submit_tag l(:button_export), name: nil, data: { disable_with: false, action: 'dialog#hide' } %>
|
||
|
<%= link_to l(:button_cancel), '#', data: { action: 'dialog#cancel' } %>
|
||
|
</p>
|
||
|
<% end %>
|
||
|
</div>
|
||
|
<% end %>
|
||
|
<div class="issue-report-graph hide-when-print">
|
||
|
<canvas id="issues_by_<%= params[:detail] %>"></canvas>
|
||
| app/views/roles/permissions.html.erb | ||
|---|---|---|
|
<p><%= submit_tag l(:button_save) %></p>
|
||
|
<% end %>
|
||
|
<% other_formats_links do |f| %>
|
||
|
<%= f.link_to_with_query_parameters 'CSV', {}, :onclick => "showModal('csv-export-options', '330px'); return false;" %>
|
||
|
<%= f.link_to_with_query_parameters 'CSV', {}, data: dialog_dispatcher('csv-export-options', '330px') %>
|
||
|
<% end %>
|
||
|
<div id="csv-export-options" style="display: none;">
|
||
|
<h3 class="title"><%= l(:label_export_options, :export_format => 'CSV') %></h3>
|
||
|
<% modal_dialog 'csv-export-options', l(:label_export_options, export_format: 'CSV') do %>
|
||
|
<%= form_tag(permissions_roles_path(:format => 'csv'), :method => :get, :id => 'csv-export-form') do %>
|
||
|
<%= export_csv_encoding_select_tag %>
|
||
|
<%= export_csv_separator_select_tag %>
|
||
|
<p class="buttons">
|
||
|
<%= submit_tag l(:button_export), :name => nil, :onclick => 'hideModal(this);', :data => {:disable_with => false} %>
|
||
|
<%= link_to_function l(:button_cancel), 'hideModal(this);' %>
|
||
|
<%= submit_tag l(:button_export), name: nil, data: { disable_with: false, action: 'dialog#hide' } %>
|
||
|
<%= link_to l(:button_cancel), '#', data: { action: 'dialog#cancel' } %>
|
||
|
</p>
|
||
|
<% end %>
|
||
|
</div>
|
||
|
<% end %>
|
||
| app/views/sudo_mode/_new_modal.html.erb | ||
|---|---|---|
|
<h3 class="title"><%= l(:label_password_required) %></h3>
|
||
|
<p class="nodata" style="font-size: 1em;"><%= t 'sudo_mode_new_info_html' %></p>
|
||
|
<%= form_tag({}, remote: true) do %>
|
||
| ... | ... | |
|
</div>
|
||
|
<p class="buttons">
|
||
|
<%= submit_tag l(:button_submit), onclick: "hideModal(this);" %>
|
||
|
<%= link_to_function l(:button_cancel), "hideModal(this);" %>
|
||
|
<%= submit_tag l(:button_submit), data: { action: 'dialog#hide' } %>
|
||
|
<%= link_to l(:button_cancel), '#', data: { action: 'dialog#cancel' } %>
|
||
|
</p>
|
||
|
<% end %>
|
||
| app/views/sudo_mode/new.js.erb | ||
|---|---|---|
|
var sudo_modal = $('#sudo-modal').length ? $('#sudo-modal') : $("<div>", {id: "sudo-modal"}).appendTo($("body"));
|
||
|
sudo_modal.hide().html('<%= escape_javascript render partial: 'sudo_mode/new_modal' %>');
|
||
|
showModal('sudo-modal', '400px');
|
||
|
<% html = remote_dialog(width: '400px', title: l(:label_password_required), partial: 'sudo_mode/new_modal') %>
|
||
|
const sudo_modal = $('#sudo-modal').length ? $('#sudo-modal') : $("<div>", {id: "sudo-modal"}).appendTo($("body"));
|
||
|
sudo_modal.hide().html('<%= escape_javascript html %>');
|
||
|
$('#sudo_password').focus();
|
||
| app/views/timelog/index.html.erb | ||
|---|---|---|
|
<span class="pagination"><%= pagination_links_full @entry_pages, @entry_count %></span>
|
||
|
<% other_formats_links do |f| %>
|
||
|
<%= f.link_to_with_query_parameters 'CSV', {}, :onclick => "showModal('csv-export-options', '330px'); return false;" %>
|
||
|
<%= f.link_to_with_query_parameters 'Atom', :key => User.current.atom_key %>
|
||
|
<%= f.link_to_with_query_parameters 'CSV', {}, data: dialog_dispatcher('csv-export-options', '330px') %>
|
||
|
<%= f.link_to_with_query_parameters 'Atom', key: User.current.atom_key %>
|
||
|
<% end %>
|
||
|
<div id="csv-export-options" style="display:none;">
|
||
|
<h3 class="title"><%= l(:label_export_options, :export_format => 'CSV') %></h3>
|
||
|
<% modal_dialog "csv-export-options", l(:label_export_options, export_format: 'CSV') do %>
|
||
|
<%= form_tag(_time_entries_path(@project, nil, :format => 'csv'), :method => :get, :id => 'csv-export-form') do %>
|
||
|
<%= query_as_hidden_field_tags @query %>
|
||
|
<%= hidden_field_tag('query_name', @query.name) %>
|
||
| ... | ... | |
|
<%= export_csv_encoding_select_tag %>
|
||
|
<%= export_csv_separator_select_tag %>
|
||
|
<p class="buttons">
|
||
|
<%= submit_tag l(:button_export), :name => nil, :onclick => "hideModal(this);", :data => { :disable_with => false } %>
|
||
|
<%= link_to_function l(:button_cancel), "hideModal(this);" %>
|
||
|
<%= submit_tag l(:button_export), name: nil, data: { disable_with: false, action: 'dialog#hide' } %>
|
||
|
<%= link_to l(:button_cancel), '#', data: { action: 'dialog#cancel' } %>
|
||
|
</p>
|
||
|
<% end %>
|
||
|
</div>
|
||
|
<% end %>
|
||
|
<% end %>
|
||
|
<% end %>
|
||
| app/views/timelog/report.html.erb | ||
|---|---|---|
|
</div>
|
||
|
<% other_formats_links do |f| %>
|
||
|
<%= f.link_to_with_query_parameters 'CSV', {}, :onclick => "showModal('csv-export-options', '330px'); return false;" %>
|
||
|
<%= f.link_to_with_query_parameters 'CSV', {}, data: dialog_dispatcher('csv-export-options', '330px') %>
|
||
|
<% end %>
|
||
|
<% end %>
|
||
|
<div id="csv-export-options" style="display: none;">
|
||
|
<h3 class="title"><%= l(:label_export_options, :export_format => 'CSV') %></h3>
|
||
|
<% modal_dialog "csv-export-options", l(:label_export_options, export_format: 'CSV') do %>
|
||
|
<%= export_csv_encoding_select_tag %>
|
||
|
<%= export_csv_separator_select_tag %>
|
||
|
<p class="buttons">
|
||
|
<%= submit_tag l(:button_export), :name => nil, :id => 'csv-export-button' %>
|
||
|
<%= submit_tag l(:button_cancel), :name => nil, :onclick => 'hideModal(this);', :type => 'button' %>
|
||
|
<%= submit_tag l(:button_export), name: nil, id: 'csv-export-button', data: { action: 'dialog#hide' } %>
|
||
|
<%= link_to l(:button_cancel), '#', data: { action: 'dialog#cancel' } %>
|
||
|
</p>
|
||
|
</div>
|
||
|
<% end %>
|
||
|
<% end %>
|
||
|
<% end %>
|
||
| ... | ... | |
|
<% html_title(@query.new_record? ? l(:label_spent_time) : @query.name, l(:label_report)) %>
|
||
|
<%= javascript_tag do %>
|
||
|
$(document).ready(function(){
|
||
|
$('input#csv-export-button').click(function(){
|
||
|
$('form input#encoding').val($('select#encoding option:selected').val());
|
||
|
$('form#query_form').attr('action', '<%= _report_time_entries_path(@project, nil, :format => 'csv') %>').submit();
|
||
|
$('form#query_form').attr('action', '<%= _report_time_entries_path(@project, nil) %>');
|
||
|
hideModal(this);
|
||
|
});
|
||
|
});
|
||
|
<% end %>
|
||
| app/views/users/index.html.erb | ||
|---|---|---|
|
<span class="pagination"><%= pagination_links_full @user_pages, @user_count %></span>
|
||
|
<% end %>
|
||
|
<% other_formats_links do |f| %>
|
||
|
<%= f.link_to_with_query_parameters 'CSV', {}, :onclick => "showModal('csv-export-options', '350px'); return false;" %>
|
||
|
<%= f.link_to_with_query_parameters 'CSV', {}, data: dialog_dispatcher('csv-export-options', '350px') %>
|
||
|
<% end %>
|
||
|
<div id="csv-export-options" style="display:none;">
|
||
|
<h3 class="title"><%= l(:label_export_options, :export_format => 'CSV') %></h3>
|
||
|
<% modal_dialog "csv-export-options", l(:label_export_options, export_format: 'CSV') do %>
|
||
|
<%= form_tag(users_path(format: 'csv'), method: :get, id: 'csv-export-form') do %>
|
||
|
<%= query_as_hidden_field_tags(@query) %>
|
||
|
<%= hidden_field_tag('query_name', @query.name) %>
|
||
| ... | ... | |
|
<%= export_csv_encoding_select_tag %>
|
||
|
<%= export_csv_separator_select_tag %>
|
||
|
<p class="buttons">
|
||
|
<%= submit_tag l(:button_export), :name => nil, :onclick => "hideModal(this);", :data => { :disable_with => false } %>
|
||
|
<%= link_to_function l(:button_cancel), "hideModal(this);" %>
|
||
|
<%= submit_tag l(:button_export), name: nil, data: { disable_with: false, action: 'dialog#hide' } %>
|
||
|
<%= link_to l(:button_cancel), '#', data: { action: 'dialog#cancel' } %>
|
||
|
</p>
|
||
|
<% end %>
|
||
|
</div>
|
||
|
<% end %>
|
||
|
<% end %>
|
||
|
<% content_for :sidebar do %>
|
||
| app/views/versions/_new_modal.html.erb | ||
|---|---|---|
|
<h3 class="title"><%=l(:label_version_new)%></h3>
|
||
|
<%= labelled_form_for @version, :url => project_versions_path(@project), :html => {:multipart => true}, :remote => true do |f| %>
|
||
|
<%= render :partial => 'versions/form', :locals => { :f => f } %>
|
||
|
<p class="buttons">
|
||
|
<%= submit_tag l(:button_create), :name => nil %>
|
||
|
<%= link_to_function l(:button_cancel), "hideModal(this);" %>
|
||
|
<%= submit_tag l(:button_create), name: nil %>
|
||
|
<%= link_to l(:button_cancel), '#', data: { action: 'dialog#cancel' } %>
|
||
|
</p>
|
||
|
<% end %>
|
||
| app/views/versions/create.js.erb | ||
|---|---|---|
|
hideModal();
|
||
|
$('#ajax-modal').append('<template data-dialog-dispatcher-target="hide"></template>')
|
||
|
<% select = content_tag('select', content_tag('option') + version_options_for_select(@project.shared_versions.open, @version), :id => 'issue_fixed_version_id', :name => 'issue[fixed_version_id]') %>
|
||
|
$('#issue_fixed_version_id').replaceWith('<%= escape_javascript(select) %>');
|
||
| app/views/versions/new.js.erb | ||
|---|---|---|
|
$('#ajax-modal').html('<%= escape_javascript(render :partial => 'versions/new_modal') %>');
|
||
|
showModal('ajax-modal', '600px');
|
||
|
<% html = remote_dialog(width: '600px', title: l(:label_version_new), partial: 'versions/new_modal') %>
|
||
|
$('#ajax-modal').html('<%= escape_javascript(html) %>');
|
||
| app/views/watchers/_new.html.erb | ||
|---|---|---|
|
<%
|
||
|
title =
|
||
|
if watchables.present?
|
||
|
l(:"permission_add_#{watchables.first.class.name.underscore}_watchers")
|
||
|
else
|
||
|
l(:permission_add_issue_watchers)
|
||
|
end
|
||
|
-%>
|
||
|
<h3 class="title"><%= title %></h3>
|
||
|
<%= form_tag(watchables.present? ? watchers_path : watchers_append_path,
|
||
|
:remote => true,
|
||
|
:method => :post,
|
||
| ... | ... | |
|
</div>
|
||
|
<p class="buttons">
|
||
|
<%= submit_tag l(:button_add), :name => nil, :onclick => "hideModal(this);" %>
|
||
|
<%= link_to_function l(:button_cancel), "hideModal(this);" %>
|
||
|
<%= submit_tag l(:button_add), name: nil, data: { action: 'dialog#hide' } %>
|
||
|
<%= link_to l(:button_cancel), '#', data: { action: 'dialog#cancel' } %>
|
||
|
</p>
|
||
|
<% end %>
|
||
| app/views/watchers/new.js.erb | ||
|---|---|---|
|
$('#ajax-modal').html(
|
||
|
'<%= escape_javascript(
|
||
|
render(:partial => 'watchers/new',
|
||
|
:locals => {:watchables => @watchables, :users => @users})
|
||
|
) %>');
|
||
|
showModal('ajax-modal', '400px');
|
||
|
$('#ajax-modal').addClass('new-watcher');
|
||
|
<% title = if @watchables.present?
|
||
|
l(:"permission_add_#{@watchables.first.class.name.underscore}_watchers")
|
||
|
else
|
||
|
l(:permission_add_issue_watchers)
|
||
|
end -%>
|
||
|
<% html = remote_dialog(width: '400px', title: title, partial: 'watchers/new', locals: {watchables: @watchables, users: @users}) %>
|
||
|
$('#ajax-modal').html('<%= escape_javascript html %>');
|
||
|
$('#ajax-modal').addClass('new-watcherwatcher');
|
||
| app/views/wiki/_new_modal.html.erb | ||
|---|---|---|
|
<h3 class="title"><%=l(:label_wiki_page_new)%></h3>
|
||
|
<%= labelled_form_for :page, @page,
|
||
|
:url => new_project_wiki_page_path(@project),
|
||
|
:method => 'post',
|
||
| ... | ... | |
|
<p class="buttons">
|
||
|
<%= submit_tag l(:label_next), :name => nil %>
|
||
|
<%= link_to_function l(:button_cancel), "hideModal(this);" %>
|
||
|
<%= link_to l(:button_cancel), '#', data: { action: 'dialog#cancel' } %>
|
||
|
</p>
|
||
|
<% end %>
|
||
| app/views/wiki/new.js.erb | ||
|---|---|---|
|
$('#ajax-modal').html('<%= escape_javascript(render :partial => 'wiki/new_modal') %>');
|
||
|
showModal('ajax-modal', '600px');
|
||
|
<% html = remote_dialog(width: '600px', title: l(:label_wiki_page_new), partial: 'wiki/new_modal') %>
|
||
|
$('#ajax-modal').html('<%= escape_javascript(html) %>');
|
||
| config/icon_source.yml | ||
|---|---|---|
|
- name: unwatch
|
||
|
svg: eye-off
|
||
|
- name: copy-pre-content
|
||
|
svg: clipboard
|
||
|
svg: clipboard
|
||
|
- name: close-dialog
|
||
|
svg: x
|
||
| config/locales/ar.yml | ||
|---|---|---|
|
button_show: إظهار
|
||
|
button_edit_section: تعديل هذا الجزء
|
||
|
button_export: تصدير لملف
|
||
|
button_close_dialog: Close
|
||
|
status_active: نشيط
|
||
|
status_registered: مسجل
|
||
| config/locales/az.yml | ||
|---|---|---|
|
button_update: Yeniləmək
|
||
|
button_view: Baxmaq
|
||
|
button_watch: İzləmək
|
||
|
button_close_dialog: Close
|
||
|
default_activity_design: Layihənin hazırlanması
|
||
|
default_activity_development: Hazırlanma prosesi
|
||
| config/locales/bg.yml | ||
|---|---|---|
|
button_delete_object: Изтриване %{object_name}
|
||
|
button_create_and_follow: Създаване и продължаване
|
||
|
button_apply_issues_filter: Прилагане на филтъра
|
||
|
button_close_dialog: Close
|
||
|
status_active: активен
|
||
|
status_registered: регистриран
|
||
| config/locales/bs.yml | ||
|---|---|---|
|
button_watch: Posmatraj
|
||
|
button_configure: Konfiguracija
|
||
|
button_quote: Citat
|
||
|
button_close_dialog: Close
|
||
|
status_active: aktivan
|
||
|
status_registered: registrovan
|
||
| config/locales/ca.yml | ||
|---|---|---|
|
button_configure: "Configurar"
|
||
|
button_quote: "Citar"
|
||
|
button_show: "Mostrar"
|
||
|
button_close_dialog: Close
|
||
|
status_active: "actiu"
|
||
|
status_registered: "registrat"
|
||
| config/locales/cs.yml | ||
|---|---|---|
|
button_configure: Konfigurovat
|
||
|
button_quote: Citovat
|
||
|
button_show: Zobrazit
|
||
|
button_close_dialog: Close
|
||
|
status_active: aktivní
|
||
|
status_registered: registrovaný
|
||
| config/locales/da.yml | ||
|---|---|---|
|
button_annotate: Annotér
|
||
|
button_update: Opdatér
|
||
|
button_configure: Konfigurér
|
||
|
button_close_dialog: Close
|
||
|
status_active: aktiv
|
||
|
status_registered: registreret
|
||
| config/locales/de.yml | ||
|---|---|---|
|
button_view: Anzeigen
|
||
|
button_watch: Beobachten
|
||
|
button_actions: Aktionen
|
||
|
button_close_dialog: Close
|
||
|
default_activity_design: Design
|
||
|
default_activity_development: Entwicklung
|
||
| config/locales/el.yml | ||
|---|---|---|
|
button_update: Ενημέρωση
|
||
|
button_configure: Ρύθμιση
|
||
|
button_quote: Παράθεση
|
||
|
button_close_dialog: Close
|
||
|
status_active: ενεργό(ς)/ή
|
||
|
status_registered: εγεγγραμμένο(ς)/η
|
||
| config/locales/en-GB.yml | ||
|---|---|---|
|
button_configure: Configure
|
||
|
button_quote: Quote
|
||
|
button_show: Show
|
||
|
button_close_dialog: Close
|
||
|
status_active: active
|
||
|
status_registered: registered
|
||
| config/locales/en.yml | ||
|---|---|---|
|
button_delete_object: "Delete %{object_name}"
|
||
|
button_create_and_follow: Create and follow
|
||
|
button_apply_issues_filter: Apply issues filter
|
||
|
button_close_dialog: Close
|
||
|
status_active: active
|
||
|
status_registered: registered
|
||
| config/locales/es-PA.yml | ||
|---|---|---|
|
button_change_password: Cambiar contraseña
|
||
|
button_check_all: Seleccionar todo
|
||
|
button_clear: Anular
|
||
|
button_close_dialog: Close
|
||
|
button_configure: Configurar
|
||
|
button_copy: Copiar
|
||
|
button_create: Crear
|
||
| ... | ... | |
|
button_update: Actualizar
|
||
|
button_view: Ver
|
||
|
button_watch: Monitorizar
|
||
|
default_activity_design: Diseño
|
||
|
default_activity_development: Desarrollo
|
||
|
default_doc_category_tech: Documentación técnica
|
||
| config/locales/es.yml | ||
|---|---|---|
|
button_change_password: Cambiar contraseña
|
||
|
button_check_all: Seleccionar todo
|
||
|
button_clear: Anular
|
||
|
button_close_dialog: Close
|
||
|
button_configure: Configurar
|
||
|
button_copy: Copiar
|
||
|
button_create: Crear
|
||
| config/locales/et.yml | ||
|---|---|---|
|
button_edit_section: "Muuda seda sektsiooni"
|
||
|
button_export: "Ekspordi"
|
||
|
button_delete_my_account: "Kustuta oma konto"
|
||
|
button_close_dialog: Close
|
||
|
status_active: "aktiivne"
|
||
|
status_registered: "registreeritud"
|
||
| config/locales/eu.yml | ||
|---|---|---|
|
button_configure: Konfiguratu
|
||
|
button_quote: Aipatu
|
||
|
button_show: Ikusi
|
||
|
button_close_dialog: Close
|
||
|
status_active: gaituta
|
||
|
status_registered: izena emanda
|
||
| config/locales/fa.yml | ||
|---|---|---|
|
button_edit_object: ویرایش %{object_name}
|
||
|
button_delete_object: حذف %{object_name}
|
||
|
button_create_and_follow: ساخت و برگشت
|
||
|
button_close_dialog: Close
|
||
|
status_active: فعال
|
||
|
status_registered: ثبتنامشده
|
||
| config/locales/fi.yml | ||
|---|---|---|
|
button_copy: Kopioi
|
||
|
button_annotate: Lisää selitys
|
||
|
button_update: Päivitä
|
||
|
button_close_dialog: Close
|
||
|
status_active: aktiivinen
|
||
|
status_registered: rekisteröity
|
||
| config/locales/fr.yml | ||
|---|---|---|
|
button_reopen: Réouvrir
|
||
|
button_import: Importer
|
||
|
button_filter: Filtrer
|
||
|
button_close_dialog: Close
|
||
|
status_active: actif
|
||
|
status_registered: enregistré
|
||
| config/locales/gl.yml | ||
|---|---|---|
|
button_change_password: "Cambiar o contrasinal"
|
||
|
button_check_all: "Seleccionalo todo"
|
||
|
button_clear: Anular
|
||
|
button_close_dialog: Close
|
||
|
button_configure: Configurar
|
||
|
button_copy: Copiar
|
||
|
button_create: Crear
|
||
| config/locales/he.yml | ||
|---|---|---|
|
button_configure: אפשרויות
|
||
|
button_quote: צטט
|
||
|
button_show: הצג
|
||
|
button_close_dialog: Close
|
||
|
status_active: פעיל
|
||
|
status_registered: רשום
|
||
| config/locales/hr.yml | ||
|---|---|---|
|
button_configure: Konfiguracija
|
||
|
button_quote: Navod
|
||
|
button_show: Show
|
||
|
button_close_dialog: Close
|
||
|
status_active: aktivan
|
||
|
status_registered: Registriran
|
||
| config/locales/hu.yml | ||
|---|---|---|
|
button_annotate: Jegyzetel
|
||
|
button_update: Módosít
|
||
|
button_configure: Konfigurál
|
||
|
button_close_dialog: Close
|
||
|
status_active: aktív
|
||
|
status_registered: regisztrált
|
||
| config/locales/id.yml | ||
|---|---|---|
|
button_update: Perbarui
|
||
|
button_configure: Konfigur
|
||
|
button_quote: Kutip
|
||
|
button_close_dialog: Close
|
||
|
status_active: aktif
|
||
|
status_registered: terdaftar
|
||
| config/locales/it.yml | ||
|---|---|---|
|
button_delete_object: "Elimina %{object_name}"
|
||
|
button_create_and_follow: Crea e segui
|
||
|
button_apply_issues_filter: Applica filtro segnalazioni
|
||
|
button_close_dialog: Close
|
||
|
status_active: attivo
|
||
|
status_registered: registrato
|
||
| config/locales/ja.yml | ||
|---|---|---|
|
button_save_object: "%{object_name}を保存"
|
||
|
button_edit_object: "%{object_name}を編集"
|
||
|
button_delete_object: "%{object_name}を削除"
|
||
|
button_close_dialog: 閉じる
|
||
|
status_active: 有効
|
||
|
status_registered: 登録
|
||
| config/locales/ko.yml | ||
|---|---|---|
|
button_update: 업데이트
|
||
|
button_configure: 설정
|
||
|
button_quote: 댓글달기
|
||
|
button_close_dialog: Close
|
||
|
status_active: 사용중
|
||
|
status_registered: 등록대기
|
||
| config/locales/lt.yml | ||
|---|---|---|
|
button_close: Uždaryti
|
||
|
button_reopen: Atidaryti iš naujo
|
||
|
button_import: Importuoti
|
||
|
button_close_dialog: Close
|
||
|
status_active: aktyvus
|
||
|
status_registered: užregistruotas
|
||
| config/locales/lv.yml | ||
|---|---|---|
|
button_configure: Konfigurēt
|
||
|
button_quote: Citāts
|
||
|
button_show: Rādīt
|
||
|
button_close_dialog: Close
|
||
|
status_active: aktīvs
|
||
|
status_registered: reģistrēts
|
||
| config/locales/mk.yml | ||
|---|---|---|
|
button_configure: Конфигурирај
|
||
|
button_quote: Цитирај
|
||
|
button_show: Show
|
||
|
button_close_dialog: Close
|
||
|
status_active: активни
|
||
|
status_registered: регистрирани
|
||
| config/locales/mn.yml | ||
|---|---|---|
|
button_configure: Тохируулах
|
||
|
button_quote: Ишлэл
|
||
|
button_show: Үзэх
|
||
|
button_close_dialog: Close
|
||
|
status_active: идэвхтэй
|
||
|
status_registered: бүртгүүлсэн
|
||
| config/locales/nl.yml | ||
|---|---|---|
|
button_change_password: Wachtwoord wijzigen
|
||
|
button_check_all: Alles selecteren
|
||
|
button_clear: Leegmaken
|
||
|
button_close_dialog: Close
|
||
|
button_configure: Configureren
|
||
|
button_copy: Kopiëren
|
||
|
button_create: Aanmaken
|
||
| config/locales/no.yml | ||
|---|---|---|
|
button_annotate: Notér
|
||
|
button_update: Oppdater
|
||
|
button_configure: Konfigurer
|
||
|
button_close_dialog: Close
|
||
|
status_active: aktiv
|
||
|
status_registered: registrert
|
||
| config/locales/pl.yml | ||
|---|---|---|
|
button_delete_object: "Usuń %{object_name}"
|
||
|
button_create_and_follow: Utwórz i przejdź
|
||
|
button_apply_issues_filter: Zastosuj filtr na liście zagadnień
|
||
|
button_close_dialog: Close
|
||
|
status_active: aktywny
|
||
|
status_registered: zarejestrowany
|
||
| config/locales/pt-BR.yml | ||
|---|---|---|
|
button_update: Atualizar
|
||
|
button_configure: Configurar
|
||
|
button_quote: Responder
|
||
|
button_close_dialog: Close
|
||
|
status_active: ativo
|
||
|
status_registered: registrado
|
||
| config/locales/pt.yml | ||
|---|---|---|
|
button_update: Atualizar
|
||
|
button_configure: Configurar
|
||
|
button_quote: Citar
|
||
|
button_close_dialog: Close
|
||
|
status_active: ativo
|
||
|
status_registered: registado
|
||
| config/locales/ro.yml | ||
|---|---|---|
|
button_update: Actualizează
|
||
|
button_configure: Configurează
|
||
|
button_quote: Citează
|
||
|
button_close_dialog: Close
|
||
|
status_active: activ
|
||
|
status_registered: înregistrat
|
||
| config/locales/ru.yml | ||
|---|---|---|
|
button_update: Обновить
|
||
|
button_view: Просмотреть
|
||
|
button_watch: Следить
|
||
|
button_close_dialog: Close
|
||
|
default_activity_design: Проектирование
|
||
|
default_activity_development: Разработка
|
||
| config/locales/sk.yml | ||
|---|---|---|
|
button_annotate: Komentovať
|
||
|
button_update: Aktualizovať
|
||
|
button_configure: Konfigurovať
|
||
|
button_close_dialog: Close
|
||
|
status_active: aktívny
|
||
|
status_registered: zaregistrovaný
|
||
| config/locales/sl.yml | ||
|---|---|---|
|
button_update: Posodobi
|
||
|
button_configure: Konfiguriraj
|
||
|
button_quote: Citiraj
|
||
|
button_close_dialog: Close
|
||
|
status_active: aktivni
|
||
|
status_registered: registriran
|
||
| config/locales/sq.yml | ||
|---|---|---|
|
button_project_bookmark_delete: Hiqe faqerojtësin
|
||
|
button_filter: Filtër
|
||
|
button_actions: Veprime
|
||
|
button_close_dialog: Close
|
||
- « Previous
- 1
- 2
- 3
- Next »