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

Commit 8a58157

Browse files
committed
Make administrative user creation UI more consistent.
1 parent befbff5 commit 8a58157

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

core/views/user/index.phtml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,6 @@ $this->headScript()->appendFile($this->coreWebroot.'/public/js/jquery/jquery.for
7171

7272
if ($this->isAdmin) {
7373
?>
74-
<div class="adminCreateUser">
75-
<a class="createUserLink" href="javascript:;">Create new user</a>
76-
</div>
7774
<!-- TEMPLATE: register form -->
7875
<div id="registerFormTemplate" style="display:none;">
7976
<div class="registerError">
@@ -119,6 +116,16 @@ $this->headScript()->appendFile($this->coreWebroot.'/public/js/jquery/jquery.for
119116
</div>
120117
<div class="viewSideBar">
121118
<div class="sideElementFirst viewAction">
119+
<?php if ($this->isAdmin) { ?>
120+
<h1>Actions</h1>
121+
<ul>
122+
<li class="adminCreateUser">
123+
<a class="createUserLink" href="javascript:;">
124+
<img alt="user icon" src="<?php echo $this->coreWebroot.'/public/images/icons/add.png';?>"/> Create new user
125+
</a>
126+
</li>
127+
</ul>
128+
<?php } ?>
122129
<h1>Order</h1>
123130
<ul>
124131
<?php

0 commit comments

Comments
 (0)