<td colspan="<%= query.columns.size + 2 %>">
<span class="expander" onclick="toggleRowGroup(this); return false;"> </span>
<%= group.blank? ? 'None' : column_content(@query.group_by_column, issue) %> <span class="count">(<%= @issue_count_by_group[group] %>)</span>
+ <%= link_to_function("#{l(:button_collapse_all)}/#{l(:button_expand_all)}", "toggleAllRowGroups(this)", :class => 'toggle-all') %>
</td>
</tr>
<% previous_group = group %>
enumeration_activities: Дейности (time tracking)
enumeration_system_activity: Системна активност
+ button_expand_all: Expand all
+ button_collapse_all: Collapse all
label_my_queries: My custom queries
text_journal_changed_no_detail: "%{label} updated"
label_news_comment_added: Comment added to a news
+ button_expand_all: Expand all
+ button_collapse_all: Collapse all
label_my_queries: My custom queries
text_journal_changed_no_detail: "%{label} updated"
label_news_comment_added: Comment added to a news
+ button_expand_all: Expand all
+ button_collapse_all: Collapse all
label_my_queries: My custom queries
text_journal_changed_no_detail: "%{label} updated"
label_news_comment_added: Comment added to a news
+ button_expand_all: Expand all
+ button_collapse_all: Collapse all
label_my_queries: My custom queries
text_journal_changed_no_detail: "%{label} updated"
label_news_comment_added: Comment added to a news
+ button_expand_all: Expand all
+ button_collapse_all: Collapse all
label_my_queries: My custom queries
text_journal_changed_no_detail: "%{label} updated"
label_news_comment_added: Comment added to a news
+ button_expand_all: Expand all
+ button_collapse_all: Collapse all
label_my_queries: My custom queries
text_journal_changed_no_detail: "%{label} updated"
label_news_comment_added: Comment added to a news
+ button_expand_all: Expand all
+ button_collapse_all: Collapse all
label_my_queries: My custom queries\r
text_journal_changed_no_detail: "%{label} updated"\r
label_news_comment_added: Comment added to a news\r
+ button_expand_all: Expand all\r
+ button_collapse_all: Collapse all\r
button_save: Save
button_check_all: Check all
button_uncheck_all: Uncheck all
+ button_collapse_all: Collapse all
+ button_expand_all: Expand all
button_delete: Delete
button_create: Create
button_create_and_continue: Create and continue
label_my_queries: My custom queries
text_journal_changed_no_detail: "%{label} updated"
label_news_comment_added: Comment added to a news
+ button_expand_all: Expand all
+ button_collapse_all: Collapse all
label_my_queries: My custom queries\r
text_journal_changed_no_detail: "%{label} updated"\r
label_news_comment_added: Comment added to a news\r
+ button_expand_all: Expand all\r
+ button_collapse_all: Collapse all\r
label_my_queries: My custom queries
text_journal_changed_no_detail: "%{label} updated"
label_news_comment_added: Comment added to a news
+ button_expand_all: Expand all
+ button_collapse_all: Collapse all
label_my_queries: My custom queries
text_journal_changed_no_detail: "%{label} updated"
label_news_comment_added: Comment added to a news
+ button_expand_all: Expand all
+ button_collapse_all: Collapse all
button_save: Sauvegarder
button_check_all: Tout cocher
button_uncheck_all: Tout décocher
+ button_collapse_all: Plier tout
+ button_expand_all: Déplier tout
button_delete: Supprimer
button_create: Créer
button_create_and_continue: Créer et continuer
label_my_queries: My custom queries
text_journal_changed_no_detail: "%{label} updated"
label_news_comment_added: Comment added to a news
+ button_expand_all: Expand all
+ button_collapse_all: Collapse all
label_my_queries: My custom queries
text_journal_changed_no_detail: "%{label} updated"
label_news_comment_added: Comment added to a news
+ button_expand_all: Expand all
+ button_collapse_all: Collapse all
label_my_queries: My custom queries
text_journal_changed_no_detail: "%{label} updated"
label_news_comment_added: Comment added to a news
+ button_expand_all: Expand all
+ button_collapse_all: Collapse all
label_my_queries: My custom queries
text_journal_changed_no_detail: "%{label} updated"
label_news_comment_added: Comment added to a news
+ button_expand_all: Expand all
+ button_collapse_all: Collapse all
label_my_queries: My custom queries
text_journal_changed_no_detail: "%{label} updated"
label_news_comment_added: Comment added to a news
+ button_expand_all: Expand all
+ button_collapse_all: Collapse all
label_my_queries: My custom queries
text_journal_changed_no_detail: "%{label} updated"
label_news_comment_added: Comment added to a news
+ button_expand_all: Expand all
+ button_collapse_all: Collapse all
label_my_queries: My custom queries
text_journal_changed_no_detail: "%{label} updated"
label_news_comment_added: Comment added to a news
+ button_expand_all: Expand all
+ button_collapse_all: Collapse all
label_my_queries: My custom queries
text_journal_changed_no_detail: "%{label} updated"
label_news_comment_added: Comment added to a news
+ button_expand_all: Expand all
+ button_collapse_all: Collapse all
label_my_queries: My custom queries
text_journal_changed_no_detail: "%{label} updated"
label_news_comment_added: Comment added to a news
+ button_expand_all: Expand all
+ button_collapse_all: Collapse all
label_my_queries: My custom queries\r
text_journal_changed_no_detail: "%{label} updated"\r
label_news_comment_added: Comment added to a news\r
+ button_expand_all: Expand all\r
+ button_collapse_all: Collapse all\r
label_my_queries: My custom queries\r
text_journal_changed_no_detail: "%{label} updated"\r
label_news_comment_added: Comment added to a news\r
+ button_expand_all: Expand all\r
+ button_collapse_all: Collapse all\r
label_my_queries: My custom queries\r
text_journal_changed_no_detail: "%{label} updated"\r
label_news_comment_added: Comment added to a news\r
+ button_expand_all: Expand all\r
+ button_collapse_all: Collapse all\r
label_my_queries: Mijn aangepaste zoekopdrachten
text_journal_changed_no_detail: "%{label} updated"
label_news_comment_added: Commentaar toegevoegd aan een nieuwsitem
+ button_expand_all: Expand all
+ button_collapse_all: Collapse all
label_my_queries: My custom queries
text_journal_changed_no_detail: "%{label} updated"
label_news_comment_added: Comment added to a news
+ button_expand_all: Expand all
+ button_collapse_all: Collapse all
label_my_queries: My custom queries
text_journal_changed_no_detail: "%{label} updated"
label_news_comment_added: Comment added to a news
+ button_expand_all: Expand all
+ button_collapse_all: Collapse all
label_my_queries: Minhas consultas personalizadas
text_journal_changed_no_detail: "%{label} atualizado(a)"
label_news_comment_added: Notícia recebeu um comentário
+ button_expand_all: Expand all
+ button_collapse_all: Collapse all
label_my_queries: My custom queries
text_journal_changed_no_detail: "%{label} updated"
label_news_comment_added: Comment added to a news
+ button_expand_all: Expand all
+ button_collapse_all: Collapse all
label_my_queries: My custom queries
text_journal_changed_no_detail: "%{label} updated"
label_news_comment_added: Comment added to a news
+ button_expand_all: Expand all
+ button_collapse_all: Collapse all
label_my_queries: My custom queries
text_journal_changed_no_detail: "%{label} updated"
label_news_comment_added: Comment added to a news
+ button_expand_all: Expand all
+ button_collapse_all: Collapse all
label_my_queries: My custom queries
text_journal_changed_no_detail: "%{label} updated"
label_news_comment_added: Comment added to a news
+ button_expand_all: Expand all
+ button_collapse_all: Collapse all
label_my_queries: My custom queries
text_journal_changed_no_detail: "%{label} updated"
label_news_comment_added: Comment added to a news
+ button_expand_all: Expand all
+ button_collapse_all: Collapse all
label_my_queries: My custom queries\r
text_journal_changed_no_detail: "%{label} updated"\r
label_news_comment_added: Comment added to a news\r
+ button_expand_all: Expand all\r
+ button_collapse_all: Collapse all\r
label_my_queries: My custom queries
text_journal_changed_no_detail: "%{label} updated"
label_news_comment_added: Comment added to a news
+ button_expand_all: Expand all
+ button_collapse_all: Collapse all
enumeration_activities: Aktiviteter (tidsuppföljning)
enumeration_system_activity: Systemaktivitet
label_news_comment_added: Comment added to a news
+ button_expand_all: Expand all
+ button_collapse_all: Collapse all
label_my_queries: My custom queries
text_journal_changed_no_detail: "%{label} updated"
label_news_comment_added: Comment added to a news
+ button_expand_all: Expand all
+ button_collapse_all: Collapse all
label_my_queries: My custom queries
text_journal_changed_no_detail: "%{label} updated"
label_news_comment_added: Comment added to a news
+ button_expand_all: Expand all
+ button_collapse_all: Collapse all
label_my_queries: My custom queries
text_journal_changed_no_detail: "%{label} updated"
label_news_comment_added: Comment added to a news
+ button_expand_all: Expand all
+ button_collapse_all: Collapse all
label_my_queries: My custom queries
text_journal_changed_no_detail: "%{label} updated"
label_news_comment_added: Comment added to a news
+ button_expand_all: Expand all
+ button_collapse_all: Collapse all
enumeration_system_activity: 系統活動
label_news_comment_added: Comment added to a news
+ button_expand_all: Expand all
+ button_collapse_all: Collapse all
label_my_queries: My custom queries
text_journal_changed_no_detail: "%{label} updated"
label_news_comment_added: Comment added to a news
+ button_expand_all: Expand all
+ button_collapse_all: Collapse all
}
}
+function collapseAllRowGroups(el) {
+ var tbody = Element.up(el, 'tbody');
+ tbody.childElements('tr').each(function(tr) {
+ if (tr.hasClassName('group')) {
+ tr.removeClassName('open');
+ } else {
+ tr.hide();
+ }
+ })
+}
+
+function expandAllRowGroups(el) {
+ var tbody = Element.up(el, 'tbody');
+ tbody.childElements('tr').each(function(tr) {
+ if (tr.hasClassName('group')) {
+ tr.addClassName('open');
+ } else {
+ tr.show();
+ }
+ })
+}
+
+function toggleAllRowGroups(el) {
+ var tr = Element.up(el, 'tr');
+ if (tr.hasClassName('open')) {
+ collapseAllRowGroups(el);
+ } else {
+ expandAllRowGroups(el);
+ }
+}
+
function toggleFieldset(el) {
var fieldset = Element.up(el, 'fieldset');
fieldset.toggleClassName('collapsed');
table.list tbody tr.group td { padding: 0.8em 0 0.5em 0.3em; font-weight: bold; border-bottom: 1px solid #ccc; }
table.list tbody tr.group span.count { color: #aaa; font-size: 80%; }
+tr.group a.toggle-all { color: #aaa; font-size: 80%; font-weight: normal; display:none;}
+tr.group:hover a.toggle-all { display:inline;}
+a.toggle-all:hover {text-decoration:none;}
table.list tbody tr:hover { background-color:#ffffdd; }
table.list tbody tr.group:hover { background-color:inherit; }