diff options
author | Heiko Bernloehr <Heiko.Bernloehr@FreeIT.de> | 2013-01-11 04:35:51 +0100 |
---|---|---|
committer | Heiko Bernloehr <Heiko.Bernloehr@FreeIT.de> | 2013-01-11 04:39:54 +0100 |
commit | 76d0248e70028e5ceef1676e3e3c359495bc91b2 (patch) | |
tree | 404172d6a521887cea569b98460fcbb33422e049 | |
parent | 7babbf9594c1ed0316170ca65e328c6e7839dc96 (diff) | |
download | ecs2-76d0248e70028e5ceef1676e3e3c359495bc91b2.tar.gz ecs2-76d0248e70028e5ceef1676e3e3c359495bc91b2.zip |
Changed ordering in admin organization list view.
-rw-r--r-- | app/views/admin/organizations/list.html.erb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/admin/organizations/list.html.erb b/app/views/admin/organizations/list.html.erb index 5630fb7..6f801b9 100644 --- a/app/views/admin/organizations/list.html.erb +++ b/app/views/admin/organizations/list.html.erb @@ -28,14 +28,14 @@ License along with ECS. If not, see <http://www.gnu.org/licenses/>. <TR class="table-resource-label"> <TH class="box2">ID</TH> - <TH class="box2">↑ Name</TH> - <TH class="box2">Abreviation</TH> + <TH class="box2">Name</TH> + <TH class="box2">↑ Abreviation</TH> <TH class="box2">Description</TH> <TH class="box2" align="center">Operations</TH> </TR> <tr></tr> - <% for organization in @organizations.sort{|x,y| x.name.downcase <=> y.name.downcase} %> + <% for organization in @organizations.sort{|x,y| x.abrev.downcase <=> y.abrev.downcase} %> <tr valign="top" class="<%= cycle('list-line-odd', 'list-line-even') %>"> <TD> <%= organization.id %></TD> <TD> <%= h organization.name %> </TD> |