Skip to content
This repository
Browse code

added links for management.

  • Loading branch information...
commit 702504f660a7295fd2f8f875a0b833dba9354eb4 1 parent 9411b48
Paulo H3nrique Alves h3nrique authored
2  View/Authake/index.ctp
@@ -5,7 +5,7 @@
5 5 </ul>
6 6 </div>
7 7 <div class="index">
8   -<h2><?php __('Authake administration page');?></h2>
  8 +<h2><?php echo __('Authake administration page');?></h2>
9 9
10 10 <div class="actions">
11 11 <ul>
8 View/Rules/index.ctp
@@ -86,3 +86,11 @@ foreach ($rules as $k => $rule):
86 86 </table>
87 87 </div>
88 88 </div>
  89 +<?php if (!$tableonly) { ?>
  90 +<div class="actions">
  91 + <ul>
  92 + <li class="icon user"><?php echo $this->Html->link(__('Manage users'), array('controller'=> 'users', 'action'=>'index')); ?> </li>
  93 + <li class="icon lock"><?php echo $this->Html->link(__('Manage groups'), array('controller'=> 'groups', 'action'=>'index')); ?> </li>
  94 + </ul>
  95 +</div>
  96 +<?php } ?>
8 View/Users/index.ctp
@@ -118,4 +118,12 @@ foreach ($users as $user):
118 118 <?php echo $this->Paginator->next(__('next').' >>', array(), null, array('class'=>'disabled'));?>
119 119 </div>
120 120 </div>
  121 +<?php if (!$tableonly) { ?>
  122 +<div class="actions">
  123 + <ul>
  124 + <li class="icon user"><?php echo $this->Html->link(__('Manage groups'), array('controller'=> 'groups', 'action'=>'index')); ?> </li>
  125 + <li class="icon lock"><?php echo $this->Html->link(__('Manage rules'), array('controller'=> 'rules', 'action'=>'index')); ?> </li>
  126 + </ul>
  127 +</div>
  128 +<?php } ?>
121 129 </div>

0 comments on commit 702504f

Please sign in to comment.
Something went wrong with that request. Please try again.