1
0
مراية لـ https://github.com/postalserver/postal.git تم المزامنة 2026-01-17 21:39:47 +00:00
الملفات
postal/app/views/admin/organizations/index.html.haml
2017-04-19 13:07:25 +01:00

25 أسطر
765 B
Plaintext

- page_title << "Admin"
- page_title << "Organizations"
.pageHeader
%h1.pageHeader__title
%span.pageHeader__titlePrevious Admin &rarr;
Organizations
.pageContent
%table.dataTable
%thead
%tr
%td{:width => "30%"} Name
%td{:width => "25%"} Owner
%td{:width => "5%"} Servers
%td{:width => "10%"} Status
%td{:width => "15%"} Created
%tbody
- for organization in @organizations
%tr
%td= link_to organization.name, organization_root_path(organization), :class => "u-link"
%td= organization.owner&.name || "No Owner"
%td= organization.servers.count
%td= organization.status
%td= organization.created_at.to_s(:long)
= paginate @organizations