summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeiko Bernloehr <Heiko.Bernloehr@FreeIT.de>2017-03-08 15:04:13 +0100
committerHeiko Bernloehr <Heiko.Bernloehr@FreeIT.de>2017-03-08 15:04:54 +0100
commit7a1cf9f269765fed79210cc52c790a68dbf22709 (patch)
tree6991018796131a08446a6ad9f646286a1662aad9
parent928ec633459c157d4f6c575f0adfc22d74bda167 (diff)
downloadecs-7a1cf9f269765fed79210cc52c790a68dbf22709.tar.gz
ecs-7a1cf9f269765fed79210cc52c790a68dbf22709.zip
Fixed Action link in participant view list template.
-rw-r--r--app/views/admin/participants/list.html.haml16
1 files changed, 8 insertions, 8 deletions
diff --git a/app/views/admin/participants/list.html.haml b/app/views/admin/participants/list.html.haml
index 0bf37db..01d4c5b 100644
--- a/app/views/admin/participants/list.html.haml
+++ b/app/views/admin/participants/list.html.haml
@@ -1,23 +1,23 @@
-#
Copyright (C) 2007, 2013 Heiko Bernloehr (FreeIT.de).
-
+
This file is part of ECS.
-
+
ECS is free software: you can redistribute it and/or modify it
under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of
the License, or (at your option) any later version.
-
+
ECS is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public
License along with ECS. If not, see <http://www.gnu.org/licenses/>.
-
-%h1.box1 Listing Participants (#{@list_participants_count.to_s})
+
+%h1.box1 Listing Participants (#{@list_participants_count.to_s})
.text-link= link_to 'New participant', new_admin_participant_path
- if @list_anonymous
@@ -34,10 +34,10 @@
%th.box2 Description (optional):
%th.box2 Self-<br/>routing:
%th.box2 Events:
- %th.box2(align="center")= "Links, Actions(#{link_to_actions_toggle_on_off(@list_anonymous, @action_buttons)})"
+ %th.box2(align="center")= "Links, Actions (#{link_to_actions_toggle_on_off(@list_anonymous, @action_buttons)})".html_safe
%tr
- - @participants.group_by(&:organization_id).sort{|x,y| Organization.find(x[0]).abrev.downcase <=> Organization.find(y[0]).abrev.downcase}.each do |orgid,participants|
+ - @participants.group_by(&:organization_id).sort{|x,y| Organization.find(x[0]).abrev.downcase <=> Organization.find(y[0]).abrev.downcase}.each do |orgid,participants|
- org_printed= false
- participants.sort{|x,y| x.name.downcase <=> y.name.downcase}.each do |participant|
%tr{:class => [cycle('list-line-odd', 'list-line-even')]}