Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[webui] move things from Webui::Person to User model
- Loading branch information
Showing
19 changed files
with
166 additions
and
188 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
<!-- Start: Header --> | ||
<div id="header"> | ||
<!-- Start: Header --> | ||
<div id="header"> | ||
|
||
<div id="header-content" class="container_12"> | ||
<div id="header-content" class="container_12"> | ||
|
||
<%= link_to image_tag( "obs-logo_small.png", :height => 26 ) , { :controller => 'main', | ||
:action => :index }, { :id => "header-logo"} -%> | ||
<%= link_to image_tag("obs-logo_small.png", :height => 26), { :controller => 'main', | ||
:action => :index }, { :id => "header-logo" } -%> | ||
|
||
<ul id="global-navigation"> | ||
<li></li> | ||
<% if current_user -%> | ||
<li id="item-favorites" style="float: right;"><a href="#">Watchlist</a></li> | ||
<% end -%> | ||
</ul> | ||
<ul id="global-navigation"> | ||
<li></li> | ||
<% unless User.current.is_nobody? -%> | ||
<li id="item-favorites" style="float: right;"><a href="#">Watchlist</a></li> | ||
<% end -%> | ||
</ul> | ||
|
||
<%= render :partial => "layouts/webui/watch_and_search" %> | ||
<%= render :partial => "layouts/webui/watch_and_search" %> | ||
|
||
</div> | ||
</div> | ||
<!-- End: Header --> | ||
</div> | ||
</div> | ||
<!-- End: Header --> | ||
|
8 changes: 4 additions & 4 deletions
8
src/api/webui/app/views/layouts/webui/_personal_navigation.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.