The Gitlab instance will be restarted on Monday April 28th at 2AM. There will be a short interruption of service.

Skip to content
Snippets Groups Projects
Commit 6da131d5 authored by Chris Hallberg's avatar Chris Hallberg
Browse files

Move MyResearch menu icons to the left side for better responsiveness.

parent a4e7b8d7
No related merge requests found
......@@ -2,64 +2,54 @@
<div class="list-group">
<? if ($this->userlist()->getMode() !== 'disabled'): ?>
<a href="<?=$this->url('myresearch-favorites')?>" class="list-group-item<?=$this->active == 'favorites' ? ' active' : ''?>">
<?=$this->transEsc('Favorites')?>
<span class="pull-right flip"><i class="fa fa-fw fa-star"></i></span>
<i class="fa fa-fw fa-star"></i> <?=$this->transEsc('Favorites')?>
</a>
<? endif; ?>
<? if ('ils-none' !== $this->ils()->getOfflineMode()): ?>
<? if ($this->ils()->checkCapability('getMyTransactions')): ?>
<a href="<?=$this->url('myresearch-checkedout')?>" class="list-group-item<?=$this->active == 'checkedout' ? ' active' : ''?>">
<?=$this->transEsc('Checked Out Items')?>
<span class="pull-right flip"><i class="fa fa-fw fa-book"></i></span>
<i class="fa fa-fw fa-book"></i> <?=$this->transEsc('Checked Out Items')?>
</a>
<? endif; ?>
<? if ($this->ils()->checkCapability('getMyHolds')): ?>
<a href="<?=$this->url('myresearch-holds')?>" class="list-group-item<?=$this->active == 'holds' ? ' active' : ''?>">
<?=$this->transEsc('Holds and Recalls')?>
<span class="pull-right flip"><i class="fa fa-fw fa-flag"></i></span>
<i class="fa fa-fw fa-flag"></i> <?=$this->transEsc('Holds and Recalls')?>
</a>
<? endif; ?>
<? if ($this->ils()->checkFunction('StorageRetrievalRequests')): ?>
<a href="<?=$this->url('myresearch-storageretrievalrequests')?>" class="list-group-item<?=$this->active == 'storageRetrievalRequests' ? ' active' : ''?>">
<?=$this->transEsc('Storage Retrieval Requests')?>
<span class="pull-right flip"><i class="fa fa-fw fa-archive"></i></span>
<i class="fa fa-fw fa-archive"></i> <?=$this->transEsc('Storage Retrieval Requests')?>
</a>
<? endif; ?>
<? if ($this->ils()->checkFunction('ILLRequests')): ?>
<a href="<?=$this->url('myresearch-illrequests')?>" class="list-group-item<?=$this->active == 'ILLRequests' ? ' active' : ''?>">
<?=$this->transEsc('Interlibrary Loan Requests')?>
<span class="pull-right flip"><i class="fa fa-fw fa-exchange"></i></span>
<i class="fa fa-fw fa-exchange"></i> <?=$this->transEsc('Interlibrary Loan Requests')?>
</a>
<? endif; ?>
<? if ($this->ils()->checkCapability('getMyFines')): ?>
<a href="<?=$this->url('myresearch-fines')?>" class="list-group-item<?=$this->active == 'fines' ? ' active' : ''?>">
<?=$this->transEsc('Fines')?>
<span class="pull-right flip"><i class="fa fa-fw fa-usd"></i></span>
<i class="fa fa-fw fa-usd"></i> <?=$this->transEsc('Fines')?>
</a>
<? endif; ?>
<? if ($this->ils()->checkCapability('getMyProfile')): ?>
<a href="<?=$this->url('myresearch-profile')?>" class="list-group-item<?=$this->active == 'profile' ? ' active' : ''?>">
<?=$this->transEsc('Profile')?>
<span class="pull-right flip"><i class="fa fa-fw fa-user"></i></span>
<i class="fa fa-fw fa-user"></i> <?=$this->transEsc('Profile')?>
</a>
<? endif; ?>
<? $user = $this->auth()->isLoggedIn(); if ($user && $user->libraryCardsEnabled()): ?>
<a href="<?=$this->url('librarycards-home')?>" class="list-group-item<?=$this->active == 'librarycards' ? ' active' : ''?>">
<?=$this->transEsc('Library Cards')?>
<span class="pull-right flip"><i class="fa fa-fw fa-barcode"></i></span>
<i class="fa fa-fw fa-barcode"></i> <?=$this->transEsc('Library Cards')?>
</a>
<? endif; ?>
<? endif; ?>
<? if ($this->accountCapabilities()->getSavedSearchSetting() === 'enabled'): ?>
<a href="<?=$this->url('search-history')?>?require_login" class="list-group-item<?=$this->active == 'history' ? ' active' : ''?>">
<?=$this->transEsc('history_saved_searches')?>
<span class="pull-right flip"><i class="fa fa-fw fa-search"></i></span>
<i class="fa fa-fw fa-search"></i> <?=$this->transEsc('history_saved_searches')?>
</a>
<? endif; ?>
<? if ($user = $this->auth()->isLoggedIn()): ?>
<a href="<?=$this->url('myresearch-logout')?>" class="list-group-item">
<?=$this->transEsc("Log Out")?>
<span class="pull-right flip"><i class="fa fa-fw fa-sign-out"></i></span>
<i class="fa fa-fw fa-sign-out"></i> <?=$this->transEsc("Log Out")?>
</a>
<? endif; ?>
</div>
......@@ -67,8 +57,7 @@
<h4><?=$this->transEsc('Preferences')?></h4>
<div class="list-group">
<a href="<?=$this->url('myresearch-changepassword') ?>" class="list-group-item<?=$this->active == 'newpassword' ? ' active' : ''?>">
<?=$this->transEsc('Change Password') ?>
<span class="pull-right flip"><i class="fa fa-fw fa-lock"></i></span>
<i class="fa fa-fw fa-lock"></i> <?=$this->transEsc('Change Password') ?>
</a>
</div>
<? endif; ?>
......@@ -76,8 +65,7 @@
<h4><?=$this->transEsc('Your Lists')?></h4>
<div class="list-group">
<a href="<?=$this->url('myresearch-favorites')?>" class="list-group-item<?=$this->active == 'favorites' ? ' active' : ''?>">
<?=$this->transEsc('Your Favorites')?>
<span class="pull-right flip"><i class="fa fa-fw fa-star"></i></span>
<i class="fa fa-fw fa-star"></i> <?=$this->transEsc('Your Favorites')?>
</a>
<? $lists = $user->getLists() ?>
<? foreach ($lists as $list): ?>
......@@ -87,8 +75,7 @@
</a>
<? endforeach; ?>
<a href="<?=$this->url('editList', array('id'=>'NEW'))?>" title="<?=$this->transEsc('Create a List') ?>" class="list-group-item">
<?=$this->transEsc('Create a List') ?>
<span class="pull-right flip"><i class="fa fa-fw fa-plus"></i></span>
<i class="fa fa-fw fa-plus"></i> <?=$this->transEsc('Create a List') ?>
</a>
</div>
<? endif ?>
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment