projects
/
WP-Plugins
/
glm-member-db-registrations.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47a5f3b
)
List page now checking to see if there's any available events.
author
Chuck Scott
<cscott@gaslightmedia.com>
Thu, 26 Oct 2017 16:21:27 +0000
(12:21 -0400)
committer
Chuck Scott
<cscott@gaslightmedia.com>
Thu, 26 Oct 2017 16:21:27 +0000
(12:21 -0400)
views/front/registrations/list.html
patch
|
blob
|
history
diff --git
a/views/front/registrations/list.html
b/views/front/registrations/list.html
index
8542400
..
5e55926
100644
(file)
--- a/
views/front/registrations/list.html
+++ b/
views/front/registrations/list.html
@@
-1,5
+1,6
@@
{include file='front/registrations/header.html'}
<div class="glm-reg-event-list">
+{if $haveRegEvents}
{foreach $regEvents as $event}
<div class="glm-reg-event-item clearfix">
<h2><a href="{$thisUrl}?page=registration&eventRegId={$event.id}">{$event.event_name}</a></h2>
@@
-7,5
+8,8
@@
</div>
{/foreach}
+{else}
+ <h2>Sorry, no events are available for registration at this time.</h2>
+{/if}
</div>