Skip to content

Commit 8899390

Browse files
authored
Merge pull request #5390 from Tyler-Fanuele/5372AlignmentNudges
5372 alignment nudges
2 parents a90f3bb + 26bbee1 commit 8899390

File tree

15 files changed

+26
-26
lines changed

15 files changed

+26
-26
lines changed

app/views/admin/account_requests/_open_account_request.html.erb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
<%= open_account_request.name %>
1111
<br><%= open_account_request.email %>
1212
</td>
13-
<td><%= js_button(text: 'Reject',
13+
<td class="text-right"><%= js_button(text: 'Reject',
1414
icon: 'ban',
1515
class: 'reject-button',
16-
data: { request_id: open_account_request.id, modal: 'reject' }) %></td>
17-
<td><%= js_button(text: 'Close (Admin)',
16+
data: { request_id: open_account_request.id, modal: 'reject' }) %>
17+
<%= js_button(text: 'Close (Admin)',
1818
icon: 'times',
1919
class: 'reject-button',
2020
data: { request_id: open_account_request.id, modal: 'close' }) %></td>

app/views/admin/account_requests/for_rejection.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<th>Request details</th>
2626
<th>Request status</th>
2727
<th>Contact Details</th>
28-
<th>Actions</th>
28+
<th class="text-right">Actions</th>
2929
</tr>
3030
</thead>
3131
<tbody>

app/views/admin/account_requests/index.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<th>Request details</th>
2727
<th>Request status</th>
2828
<th>Contact Details</th>
29-
<th>Actions</th>
29+
<th class="text-right">Actions</th>
3030
</tr>
3131
</thead>
3232
<tbody>

app/views/admin/base_items/index.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
<tr>
3434
<th>Name</th>
3535
<th>Child Items</th>
36-
<th class="pull-right">Actions</th>
36+
<th class="text-right">Actions</th>
3737
</tr>
3838
</thead>
3939
<tbody>

app/views/admin/broadcast_announcements/index.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
<th>More info</th>
4040
<th>Sent by</th>
4141
<th>Expiration</th>
42-
<th class="text-center">Actions</th>
42+
<th class="text-right">Actions</th>
4343
</tr>
4444
</thead>
4545
<tbody>

app/views/admin/partners/index.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<tr>
3333
<th>Name</th>
3434
<th>Organization</th>
35-
<th class="pull-right">Actions</th>
35+
<th class="text-right">Actions</th>
3636
</tr>
3737
</thead>
3838
<tbody>

app/views/donation_sites/index.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
<th>Contact Name</th>
7575
<th>E-mail</th>
7676
<th>Phone</th>
77-
<th>&nbsp;</th>
77+
<th class="text-right">Actions</th>
7878
</tr>
7979
</thead>
8080
<tbody>

app/views/kits/_table.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<%= edit_button_to allocations_kit_path(kit), { text: "Modify Allocation" } %>
3838
</div>
3939
</td>
40-
<td>
40+
<td class="text-right">
4141
<% if kit.active %>
4242
<%= deactivate_kit_button(kit, @inventory) %>
4343
<% else %>

app/views/partners/_partner_row.html.erb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,20 @@
1111
<% when "uninvited" %>
1212
<%= view_button_to "#", { text: "Uninvited", icon: "exclamation-circle" } %>
1313
<% when "invited" %>
14-
<%= view_button_to "#", { text: "#{status.humanize}", icon: "check" } %>
14+
<%= view_button_to "#", { text: "#{status.humanize}", icon: "check", class: "w-100" } %>
1515
<% when "awaiting_review" %>
16-
<%= view_button_to "#", { text: "#{status.humanize}", icon: "check", type: "warning" } %>
16+
<%= view_button_to "#", { text: "#{status.humanize}", icon: "check", type: "warning", class: "w-100" } %>
1717
<% when "approved" %>
18-
<%= view_button_to "#", { text: "#{status.humanize}", icon: "check", type: "success" } %>
18+
<%= view_button_to "#", { text: "#{status.humanize}", icon: "check", type: "success", class: "w-100" } %>
1919
<% when "recertification_required" %>
20-
<%= view_button_to "#", { text: "#{status.humanize}", icon: "minus", type: "danger" } %>
20+
<%= view_button_to "#", { text: "#{status.humanize}", icon: "minus", type: "danger", class: "w-100" } %>
2121
<% when "deactivated" %>
22-
<%= view_button_to "#", { text: "#{status.humanize}", icon: "minus", type: "secondary" } %>
22+
<%= view_button_to "#", { text: "#{status.humanize}", icon: "minus", type: "secondary", class: "w-100" } %>
2323
<% else %>
2424
<span class="label label-teal">Errored</span>
2525
<% end %>
2626
</td>
27-
<td>
27+
<td class="text-right">
2828
<% case status %>
2929
<% when "uninvited" %>
3030
<% if can_one_step_invite_and_approve %>

app/views/partners/_partners_table.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<th>Group</th>
3232
<th>Quota</th>
3333
<th>Status</th>
34-
<th>Action</th>
34+
<th class="text-right">Action</th>
3535
<th>&nbsp;</th>
3636
</tr>
3737
</thead>

0 commit comments

Comments
 (0)