Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
O
OHR Support
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
97
Issues
97
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
OHR Support
Commits
2c0fcd3b
Commit
2c0fcd3b
authored
Oct 20, 2011
by
Romano Licker
Committed by
Holger Just
Oct 28, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[#667] added invisible labels for reassign select-tag on destroy views
parent
2f5cf020
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
1 deletion
+7
-1
destroy.rhtml
app/views/enumerations/destroy.rhtml
+1
-1
destroy.rhtml
app/views/issue_categories/destroy.rhtml
+1
-0
destroy.rhtml
app/views/wiki/destroy.rhtml
+1
-0
de.yml
config/locales/de.yml
+2
-0
en.yml
config/locales/en.yml
+2
-0
No files found.
app/views/enumerations/destroy.rhtml
View file @
2c0fcd3b
...
...
@@ -3,7 +3,7 @@
<%
form_tag
({})
do
%>
<div
class=
"box"
>
<p><strong>
<%=
l
(
:text_enumeration_destroy_question
,
@enumeration
.
objects_count
)
%>
</strong></p>
<p>
<
%=
l
(
:text_enumeration_category_reassign_to
)
%
>
<p><
label
for=
'reassign_to_id'
>
<%=
l
(
:text_enumeration_category_reassign_to
)
%>
</label
>
<%=
select_tag
'reassign_to_id'
,
(
"<option>---
#{
l
(
:actionview_instancetag_blank_option
)
}
---</option>"
+
options_from_collection_for_select
(
@enumerations
,
'id'
,
'name'
))
%>
</p>
</div>
...
...
app/views/issue_categories/destroy.rhtml
View file @
2c0fcd3b
...
...
@@ -6,6 +6,7 @@
<p><label>
<%=
radio_button_tag
'todo'
,
'nullify'
,
true
%>
<%=
l
(
:text_issue_category_destroy_assignments
)
%>
</label><br
/>
<%
if
@categories
.
size
>
0
%>
<label>
<%=
radio_button_tag
'todo'
,
'reassign'
,
false
%>
<%=
l
(
:text_issue_category_reassign_to
)
%>
</label>
:
<%=
label_tag
"reassign_to_id"
,
l
(
:description_ticket_reassign
),
:class
=>
"hidden-for-sighted"
%>
<%=
select_tag
'reassign_to_id'
,
options_from_collection_for_select
(
@categories
,
'id'
,
'name'
)
%>
</p>
<%
end
%>
</div>
...
...
app/views/wiki/destroy.rhtml
View file @
2c0fcd3b
...
...
@@ -8,6 +8,7 @@
<%
if
@reassignable_to
.
any?
%>
<br
/>
<label>
<%=
radio_button_tag
'todo'
,
'reassign'
,
false
%>
<%=
l
(
:text_wiki_page_reassign_children
)
%>
</label>
:
<%=
label_tag
"reassign_to_id"
,
l
(
:description_wiki_reassign
),
:class
=>
"hidden-for-sighted"
%>
<%=
select_tag
'reassign_to_id'
,
wiki_page_options_for_select
(
@reassignable_to
),
:onclick
=>
"$('todo_reassign').checked = true;"
%>
<%
end
%>
...
...
config/locales/de.yml
View file @
2c0fcd3b
...
...
@@ -990,3 +990,5 @@ de:
description_query_sort_criteria_direction
:
Sortierrichtung
description_available_columns
:
Verfügbare Spalten
description_selected_columns
:
Ausgewählte Spalten
description_ticket_reassign
:
Ticketzuordnung
description_wiki_reassign
:
Wikiseitenzuordnung
config/locales/en.yml
View file @
2c0fcd3b
...
...
@@ -972,3 +972,5 @@ en:
description_query_sort_criteria_direction
:
Sort direction
description_available_columns
:
Available Columns
description_selected_columns
:
Selected Spalten
description_ticket_reassign
:
Assign issues to
description_wiki_reassign
:
Assign page to
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment