-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The module should now be zk 3.0 compliant. I will be testing in a pro…
…duction environment at some point.
- Loading branch information
Showing
24 changed files
with
179 additions
and
407 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,26 @@ | ||
{% form_theme form '@ZikulaFormExtension/Form/bootstrap_4_zikula_admin_layout.html.twig' %} | ||
<div class="container-fluid"> | ||
<div class="row"> | ||
<h3> | ||
<span class="fa fa-edit"></span> | ||
{{ "Edit a Subscription" | trans }} | ||
</h3> | ||
<p>{{ "Fill in the details for a subscription. This is the data PayPal will check against for adding subscriptions. The group ID is the group to which the user should be added." | trans }}</p> | ||
{{ showflashes() }} | ||
{{ form_start(form) }} | ||
{{ form_errors(form) }} | ||
<fieldset> | ||
<legend>{{ 'Subscriber' | trans }}</legend> | ||
{{ form_row(form.wsfsubsname) }} | ||
{{ form_row(form.wsfitem) }} | ||
{{ form_row(form.wsfpaymentamount) }} | ||
{{ form_row(form.wsfemail) }} | ||
{{ form_row(form.wsfgroupid) }} | ||
</fieldset> | ||
<div class="form-group"> | ||
<div class="col-lg-offset-3 col-lg-9"> | ||
{{ form_widget(form.save, {'attr': {'class': 'btn btn-success'}}) }} | ||
{{ form_widget(form.cancel, {'attr': {'class': 'btn btn-cancel'}}) }} | ||
</div> | ||
</div> | ||
{{ form_end(form) }} | ||
</div> | ||
|
||
<h3> | ||
<span class="fa fa-edit"></span> | ||
{{ "Edit a Subscription" | trans }} | ||
</h3> | ||
<p>{{ "Fill in the details for a subscription. This is the data PayPal will check against for adding subscriptions. The group ID is the group to which the user should be added." | trans }}</p> | ||
{{ showflashes() }} | ||
{{ form_start(form) }} | ||
{{ form_errors(form) }} | ||
<fieldset> | ||
<legend>{{ 'Subscriber' | trans }}</legend> | ||
{{ form_row(form.wsfsubsname) }} | ||
{{ form_row(form.wsfitem) }} | ||
{{ form_row(form.wsfpaymentamount) }} | ||
{{ form_row(form.wsfemail) }} | ||
{{ form_row(form.wsfgroupid) }} | ||
</fieldset> | ||
<div class="form-group"> | ||
<div class="col-lg-offset-3 col-lg-9"> | ||
{{ form_widget(form.save, {'attr': {'class': 'btn btn-success'}}) }} | ||
{{ form_widget(form.cancel, {'attr': {'class': 'btn btn-cancel'}}) }} | ||
</div> | ||
</div> | ||
{{ form_end(form) }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
<div class="container-fluid"> | ||
<p>{{ 'Welcome to the administration interface for the WebsiteFeeModule module. The only item you set up from here is ' | trans }} | ||
<a href="{{ path('paustianwebsitefeemodule_admin_edit') }}">{{ 'subscriptions' | trans }}</a>. {{' The rest of the interaction is | ||
done through an interface with paypal. Go to PayPals' | trans }} <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_button-management">{{'button creation tool' | trans }}</a> | ||
{{ ' to create your button. Remember to add the custom parameter with the user id in it' | trans }}</p> | ||
</div> | ||
<p>{{ 'Welcome to the administration interface for the WebsiteFeeModule module. The only item you set up from here is ' | trans }} | ||
<a href="{{ path('paustianwebsitefeemodule_admin_edit') }}">{{ 'subscriptions' | trans }}</a>. {{' The rest of the interaction is | ||
done through an interface with paypal. Go to PayPals' | trans }} <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_button-management">{{'button creation tool' | trans }}</a> | ||
{{ ' to create your button. Remember to add the custom parameter with the user id in it' | trans }}</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,20 @@ | ||
<div class="container-fluid"> | ||
<table class="table table-striped"> | ||
<thead> | ||
<table class="table table-striped"> | ||
<thead> | ||
<tr> | ||
<th>{{ 'Subscription Name' | trans }}</th> | ||
<th> {{ 'Actions' | trans }} </th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
{% for item in subs %} | ||
<tr> | ||
<th>{{ 'Subscription Name' | trans }}</th> | ||
<th> {{ 'Actions' | trans }} </th> | ||
<td>{{ item.wsfsubsname }}</td> | ||
<td class="actions"> | ||
<a href="{{ path('paustianwebsitefeemodule_admin_edit', {subscriber: item.id}) }}" class="fas fa-edit"></a> | ||
<a href="{{ path('paustianwebsitefeemodule_admin_delete', {subscriber: item.id}) }}" class="fas fa-trash" onclick="return confirm('Are you sure you want to delete this subscription information?')"></a> | ||
</td> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
{% for item in subs %} | ||
<tr> | ||
<td>{{ item.wsfsubsname }}</td> | ||
<td class="actions"> | ||
<a href="{{ path('paustianwebsitefeemodule_admin_edit', {subscriber: item.id}) }}" class="fas fa-edit"></a> | ||
<a href="{{ path('paustianwebsitefeemodule_admin_delete', {subscriber: item.id}) }}" class="fas fa-trash" onclick="return confirm('Are you sure you want to delete this subscription information?')"></a> | ||
</td> | ||
</tr> | ||
{% endfor %} | ||
</tbody> | ||
</table> | ||
</div> | ||
{% endfor %} | ||
</tbody> | ||
</table> | ||
|
52 changes: 25 additions & 27 deletions
52
Resources/views/Admin/websitefee_admin_modifyerrs.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,27 @@ | ||
<div class="container-fluid"> | ||
<table class="table table-striped table-fixed"> | ||
<thead> | ||
<table class="table table-striped table-fixed"> | ||
<thead> | ||
<tr> | ||
<th>{{ 'Request' | trans }}</th> | ||
<th>{{ 'Response' | trans }}</th> | ||
<th>{{ 'Error Expression' | trans }}</th> | ||
<th>{{ 'Date' | trans }}</th> | ||
<th> {{ 'Actions' | trans }} </th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
{% for item in errors %} | ||
<tr> | ||
<th>{{ 'Request' | trans }}</th> | ||
<th>{{ 'Response' | trans }}</th> | ||
<th>{{ 'Error Expression' | trans }}</th> | ||
<th>{{ 'Date' | trans }}</th> | ||
<th> {{ 'Actions' | trans }} </th> | ||
<td>{{ item.wsfrequest }}</td> | ||
<td>{{ item.wsfrespone }}</td> | ||
<td>{{ item.wsferroeexp }}</td> | ||
<td>{{ item.wsferrdate.date }}</td> | ||
<td class="actions"> | ||
<a href="{{ path('paustianwebsitefeemodule_admin_deleteerror', {error: item.id}) }}" class="fas fa-trash" onclick="return confirm('Are you sure you want to delete this subscription information?')"></a> | ||
</td> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
{% for item in errors %} | ||
<tr> | ||
<td>{{ item.wsfrequest }}</td> | ||
<td>{{ item.wsfrespone }}</td> | ||
<td>{{ item.wsferroeexp }}</td> | ||
<td>{{ item.wsferrdate.date }}</td> | ||
<td class="actions"> | ||
<a href="{{ path('paustianwebsitefeemodule_admin_deleteerror', {error: item.id}) }}" class="fas fa-trash" onclick="return confirm('Are you sure you want to delete this subscription information?')"></a> | ||
</td> | ||
</tr> | ||
{% endfor %} | ||
</tbody> | ||
</table> | ||
<form action="{{ path('paustianwebsitefeemodule_admin_deleteerror') }}" method='POST'> | ||
<button type='submit' name='deleteAll' value='deleteAll'>{{ 'Delete All' | trans }}</button> | ||
</form> | ||
</div> | ||
{% endfor %} | ||
</tbody> | ||
</table> | ||
<form action="{{ path('paustianwebsitefeemodule_admin_deleteerror') }}" method='POST'> | ||
<button type='submit' name='deleteAll' value='deleteAll'>{{ 'Delete All' | trans }}</button> | ||
</form> |
Oops, something went wrong.