implement CharactergroupsAgent and include it in Seminary page
This commit is contained in:
parent
cc9936e47b
commit
f83048f8dc
8 changed files with 322 additions and 0 deletions
5
views/html/charactergroups/group.tpl
Normal file
5
views/html/charactergroups/group.tpl
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<h1><?=_('Seminaries')?></h1>
|
||||
<h2><?=$seminary['title']?></h2>
|
||||
<h3><?=_('Character Groups')?></h3>
|
||||
<h4><?=$groupsgroup['name']?></h4>
|
||||
<h5><?=$group['name']?></h5>
|
||||
10
views/html/charactergroups/groupsgroup.tpl
Normal file
10
views/html/charactergroups/groupsgroup.tpl
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<h1><?=_('Seminaries')?></h1>
|
||||
<h2><?=$seminary['title']?></h2>
|
||||
<h3><?=_('Character Groups')?></h3>
|
||||
<h4><?=$groupsgroup['name']?></h4>
|
||||
|
||||
<ul>
|
||||
<?php foreach($groups as &$group) : ?>
|
||||
<li><a href="<?=$linker->link(array('group',$seminary['url'],$groupsgroup['url'],$group['url']),1)?>"><?=$group['name']?></a></li>
|
||||
<?php endforeach ?>
|
||||
</ul>
|
||||
9
views/html/charactergroups/index.tpl
Normal file
9
views/html/charactergroups/index.tpl
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<h1><?=_('Seminaries')?></h1>
|
||||
<h2><?=$seminary['title']?></h2>
|
||||
<h3><?=_('Character Groups')?></h3>
|
||||
|
||||
<ul>
|
||||
<?php foreach($groupsgroups as &$group) : ?>
|
||||
<li><a href="<?=$linker->link(array('groupsgroup',$seminary['url'],$group['url']),1)?>"><?=$group['name']?></a></li>
|
||||
<?php endforeach ?>
|
||||
</ul>
|
||||
|
|
@ -4,6 +4,9 @@
|
|||
<li><a href="<?=$linker->link('edit', 3)?>"><?=_('Edit seminary')?></a></li>
|
||||
<li><a href="<?=$linker->link('delete', 3)?>"><?=_('Delete seminary')?></a></li>
|
||||
</nav>
|
||||
<nav>
|
||||
<li><a href="<?=$linker->link(array('charactergroups',$seminary['url']))?>"><?=_('Character Groups')?></a></li>
|
||||
</nav>
|
||||
<p>
|
||||
<?=sprintf(_('created by %s on %s'), $seminary['creator']['username'], $dateFormatter->format(new \DateTime($seminary['created'])))?>
|
||||
</p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue