|
1 | | - |
2 | 1 | <div class="row"> |
| 2 | + <div class="col-md-6 col-md-offset-3"> |
| 3 | + <h2> |
| 4 | + <%= @organization.name %> |
| 5 | + </h2> |
| 6 | + <h1> |
| 7 | + <%= image_tag @organization.logo_link, class: "splashlogo" %> |
| 8 | + </h1> |
| 9 | + <h4> |
| 10 | + <%= @organization.description.html_safe %> |
| 11 | + </h4> |
| 12 | + </div> |
3 | 13 | <div class="col-md-12"> |
4 | | - <p> |
5 | | - <strong>Name:</strong> |
6 | | - <%= @organization.name %><br> |
7 | | - <strong>Description:</strong> |
8 | | - <%= @organization.description %> |
9 | | - </p> |
10 | | - |
11 | | - <p> |
12 | | - <strong>Approvals required:</strong> |
13 | | - <%= @organization.approvals_required %> |
14 | | - </p> |
15 | | - |
| 14 | + <hr> |
| 15 | + </div> |
| 16 | +</div> |
| 17 | +<div class="row"> |
| 18 | + <div class="col-md-4"> |
16 | 19 | <p> |
17 | 20 | <strong>Associated Users:</strong> |
18 | 21 | -> <u><b><%= link_to "Invite New User", new_user_path %></b></u> |
|
22 | 25 | <li> |
23 | 26 | <% if user.org_admin %> |
24 | 27 | <b>Org Admin</b> - |
| 28 | + <% else %> |
| 29 | + Org User |
25 | 30 | <% end %> |
26 | | - <%= user.name %>, <%= user.email %> |
27 | 31 | <% if current_user.org_admin or current_user.admin %> |
28 | | - - |
29 | 32 | <small> |
30 | | - <%= link_to "Remove", remove_user_from_org_path( |
| 33 | + <%= link_to "Remove User", remove_user_from_org_path( |
31 | 34 | user_id: user.id, id: @organization.id) %> |
32 | | - </small> |
| 35 | + </small><br> |
33 | 36 | <% end %> |
| 37 | + <%= user.name %> |
| 38 | + <br><%= user.email %> |
34 | 39 | </li> |
35 | 40 | <% end %> |
36 | 41 | </ul> |
37 | 42 | <br> |
38 | 43 | </p> |
39 | 44 | </div> |
| 45 | + <div class="col-md-4"> |
| 46 | + <p> |
| 47 | + <center> |
| 48 | + <% if @organization.approvals_required %> |
| 49 | + <strong>Approval Required to Send Letters</strong> |
| 50 | + <% else %> |
| 51 | + <strong>Approvals <u>NOT</u> Required to Send Letters</strong> |
| 52 | + <% end %> |
| 53 | + <hr> |
| 54 | + <b><%= link_to "Review Letters", posts_path %></b><br> |
| 55 | + <b><%= link_to "Review Faxes", faxes_path %></b> |
| 56 | + </center> |
| 57 | + </p> |
| 58 | + </div> |
| 59 | + <div class="col-md-4"> |
| 60 | + <center> |
| 61 | + <% if current_user.org_admin or current_user.admin %> |
| 62 | + <%= link_to 'Edit Organization Settings', edit_organization_path(@organization) %> |
| 63 | + <% end %> |
| 64 | + </center> |
| 65 | + </div> |
40 | 66 | </div> |
41 | 67 | <div class="row"> |
42 | | - <% if current_user.org_admin or current_user.admin %> |
43 | | - <%= link_to 'Edit Organization Settings', edit_organization_path(@organization) %> |
44 | | - <% end %> |
45 | | - <br> |
46 | | - <hr> |
47 | | - <br> |
| 68 | + <div class="col-md-12"> |
| 69 | + <hr> |
| 70 | + <h2>Statistics</h2> |
| 71 | + <hr> |
| 72 | + </div> |
48 | 73 | </div> |
49 | 74 | <div class="row"> |
50 | 75 | <div class="col-md-6"> |
|
0 commit comments