i18n app/views/campaign_gift-options/_manage_modal.html.erb
This commit is contained in:
parent
2ea9cf0da3
commit
7c44e8af27
3 changed files with 33 additions and 11 deletions
|
@ -2,19 +2,19 @@
|
||||||
# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE -%>
|
# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE -%>
|
||||||
<div class='modal fullScreen' id='manageGiftOptionsModal'>
|
<div class='modal fullScreen' id='manageGiftOptionsModal'>
|
||||||
|
|
||||||
<%= render 'common/modal_header', title: 'Manage Gift Options' %>
|
<%= render 'common/modal_header', title: t('campaign_gift_options.manage_gift_options') %>
|
||||||
|
|
||||||
<section class='modal-body'>
|
<section class='modal-body'>
|
||||||
<p>
|
<p>
|
||||||
<a class='button'>
|
<a class='button'>
|
||||||
<!--= on 'click' gift_options.open_new -->
|
<!--= on 'click' gift_options.open_new -->
|
||||||
<i class='fa fa-plus'></i> New Gift Option
|
<i class='fa fa-plus'></i> <%= t('campaign_gift_options.new_gift_option')%>
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p class='noResults'>
|
<p class='noResults'>
|
||||||
<!--= show_if (empty gift_options.data) -->
|
<!--= show_if (empty gift_options.data) -->
|
||||||
It looks like you don't have any gift options yet. Create one by clicking on the button above.
|
<%= t('campaign_gift_options.no_gift_options') %>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<form>
|
<form>
|
||||||
|
@ -22,18 +22,18 @@
|
||||||
<!--= show_if (length gift_options.data) -->
|
<!--= show_if (length gift_options.data) -->
|
||||||
<thead>
|
<thead>
|
||||||
<th></th>
|
<th></th>
|
||||||
<th>Name</th>
|
<th><%= t('campaign_gift_options.name')%></th>
|
||||||
<th>One-Time <br>Amount</th>
|
<th><%= t('campaign_gift_options.one_time_br_amount')%></th>
|
||||||
<th>Recurring <br>Amount</th>
|
<th><%= t('campaign_gift_options.recurring_br_amount')%></th>
|
||||||
<th>
|
<th>
|
||||||
<!--= show_if gift_options.has_any_quantities -->
|
<!--= show_if gift_options.has_any_quantities -->
|
||||||
Limit
|
<%= t('campaign_gift_options.limit')%>
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
<!--= show_if gift_options.has_any_quantities -->
|
<!--= show_if gift_options.has_any_quantities -->
|
||||||
Remaining
|
<%= t('campaign_gift_options.remaining')%>
|
||||||
</th>
|
</th>
|
||||||
<th>ID</th>
|
<th><%= t('campaign_gift_options.id') %></th>
|
||||||
<th></th>
|
<th></th>
|
||||||
</thead>
|
</thead>
|
||||||
|
|
||||||
|
@ -74,12 +74,12 @@
|
||||||
<td style='width: 200px'>
|
<td style='width: 200px'>
|
||||||
<a class='button--tiny edit u-marginRight--10'>
|
<a class='button--tiny edit u-marginRight--10'>
|
||||||
<!--= on 'click' (gift_options.open_edit this)-->
|
<!--= on 'click' (gift_options.open_edit this)-->
|
||||||
<i class='fa fa-pencil'></i> Edit
|
<i class='fa fa-pencil'></i> <%= t('ui.edit') %>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<a class='button--tiny red'>
|
<a class='button--tiny red'>
|
||||||
<!--= on 'click' (confirm (ajax_gift_options.del this.id)) -->
|
<!--= on 'click' (confirm (ajax_gift_options.del this.id)) -->
|
||||||
<i class='fa fa-times'></i> Remove
|
<i class='fa fa-times'></i> <%= t('ui.remove') %>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
|
@ -18,3 +18,15 @@ en:
|
||||||
hide_contributions: Hide contributions (optional)
|
hide_contributions: Hide contributions (optional)
|
||||||
hide_contributions_description: Use this to hide the number of contributions made towards this gift option.
|
hide_contributions_description: Use this to hide the number of contributions made towards this gift option.
|
||||||
manage_gift_options: Manage Gift Options
|
manage_gift_options: Manage Gift Options
|
||||||
|
new_gift_option: New Gift Option
|
||||||
|
no_gift_options: It looks like you don't have any gift options yet. Create one by clicking on the button above.
|
||||||
|
name: Name
|
||||||
|
limit: Limit
|
||||||
|
remaining: Remaining
|
||||||
|
id: ID
|
||||||
|
one_time_br_amount: One-Time <br>Amount
|
||||||
|
recurring_br_amount: Recurring <br>Amount
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
10
config/locales/ui.en.yml
Normal file
10
config/locales/ui.en.yml
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
# License: CC0-1.0
|
||||||
|
|
||||||
|
en:
|
||||||
|
ui:
|
||||||
|
edit: Edit
|
||||||
|
remove: Remove
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue