Skip to content
This repository has been archived by the owner on Sep 10, 2021. It is now read-only.

Commit

Permalink
Make administrative user creation UI more consistent.
Browse files Browse the repository at this point in the history
  • Loading branch information
cpatrick committed Jan 15, 2016
1 parent befbff5 commit 8a58157
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions core/views/user/index.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,6 @@ $this->headScript()->appendFile($this->coreWebroot.'/public/js/jquery/jquery.for

if ($this->isAdmin) {
?>
<div class="adminCreateUser">
<a class="createUserLink" href="javascript:;">Create new user</a>
</div>
<!-- TEMPLATE: register form -->
<div id="registerFormTemplate" style="display:none;">
<div class="registerError">
Expand Down Expand Up @@ -119,6 +116,16 @@ $this->headScript()->appendFile($this->coreWebroot.'/public/js/jquery/jquery.for
</div>
<div class="viewSideBar">
<div class="sideElementFirst viewAction">
<?php if ($this->isAdmin) { ?>
<h1>Actions</h1>
<ul>
<li class="adminCreateUser">
<a class="createUserLink" href="javascript:;">
<img alt="user icon" src="<?php echo $this->coreWebroot.'/public/images/icons/add.png';?>"/> Create new user
</a>
</li>
</ul>
<?php } ?>
<h1>Order</h1>
<ul>
<?php
Expand Down

0 comments on commit 8a58157

Please sign in to comment.