This repository has been archived by the owner on Aug 15, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
removed the login layout, made it aprt of admin, and put a logged in …
…check on the nav bar
- Loading branch information
Adam Dill
committed
Aug 24, 2008
1 parent
68315fd
commit c1d8f15
Showing
4 changed files
with
12 additions
and
44 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 was deleted.
Oops, something went wrong.
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,7 +1,10 @@ | ||
<h2>Admin</h2> | ||
<ul> | ||
<li><%= link_to_remote "Manage Pages", :update => "sitetree", :url => { :controller => 'page_admin', :action => "manage_tree" } %></li> | ||
<li><%= link_to_remote 'Account Settings', :update => 'main', :url => { :controller => 'account', :action => 'update' } %></li> | ||
<li><%= link_to "Logout", :controller => 'account', :action => 'logout' %></li> | ||
</ul> | ||
|
||
<% if logged_in? %> | ||
<div class="sitetree" id="sitetree"> | ||
<h2>Admin</h2> | ||
<ul> | ||
<li><%= link_to_remote "Manage Pages", :update => "sitetree", :url => { :controller => 'page_admin', :action => "manage_tree" } %></li> | ||
<li><%= link_to_remote 'Account Settings', :update => 'main', :url => { :controller => 'account', :action => 'update' } %></li> | ||
<li><%= link_to "Logout", :controller => 'account', :action => 'logout' %></li> | ||
</ul> | ||
</div> | ||
<% end %> |