-
Notifications
You must be signed in to change notification settings - Fork 508
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Lim Lim <[email protected]>
- Loading branch information
Lim Lim
committed
Oct 8, 2011
1 parent
d5ea3de
commit 1d9f656
Showing
437 changed files
with
2,377 additions
and
2,170 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
<!-- BEGIN admin options --> | ||
<h3 class="landmark">Admin Actions</h3> | ||
<ul class="admin navigation" role="navigation"> | ||
<div class="admin"> | ||
<h3 class="landmark">Admin Actions</h3> | ||
<ul class="navigation actions" role="navigation actions"> | ||
<% if item.hidden_by_admin? %> | ||
<li><%= link_to ts('Make Visible'), {:controller=>"admin/user_creations", :action=>"hide", :id=>item, :creation_type => item.class, :hidden=>'false'} %></li> | ||
<% else %> | ||
<li><%= link_to ts('Hide'), {:controller=>"admin/user_creations", :action=>"hide", :id=>item, :creation_type => item.class, :hidden=>'true'} %></li> | ||
<% end %> | ||
<li><%= link_to ts('Delete'), {:controller=>"admin/user_creations", :action=>"destroy", :id=>item, :creation_type => item.class}, :confirm => ts('Are you sure?'), :method => :delete %></li> | ||
</ul> | ||
</div> | ||
<!-- END admin options --> |
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,25 +1,11 @@ | ||
<!-- navigation tabs for admin users --> | ||
<h3 class="landmark">Admins' Main Navigation</h3> | ||
<ul class="admin navigation" role="navigation"> | ||
<li><% if current_page?(admin_users_path) %><span class="current"><% end %> | ||
<%= link_to_unless_current ts("users"), admin_users_path %> | ||
<% if current_page?(admin_users_path) %></span><% end %></li> | ||
<li><% if current_page?(notify_admin_users_path) %><span class="current"><% end %> | ||
<%= link_to_unless_current ts("notices"), notify_admin_users_path %> | ||
<% if current_page?(notify_admin_users_path) %></span><% end %></li> | ||
<li><% if current_page?(admin_invitations_path) %><span class="current"><% end %> | ||
<%= link_to_unless_current ts("invitations"), admin_invitations_path %> | ||
<% if current_page?(admin_invitations_path) %></span><% end %></li> | ||
<li><% if current_page?(abuse_reports_path) %><span class="current"><% end %> | ||
<%= link_to_unless_current ts("abuse reports"), abuse_reports_path %> | ||
<% if current_page?(abuse_reports_path) %></span><% end %></li> | ||
<li><% if current_page?(admin_posts_path) %><span class="current"><% end %> | ||
<%= link_to_unless_current ts("admin posts"), admin_posts_path %> | ||
<% if current_page?(admin_posts_path) %></span><% end %></li> | ||
<li><% if current_page?(admin_settings_path) %><span class="current"><% end %> | ||
<%= link_to_unless_current ts("settings"), admin_settings_path %> | ||
<% if current_page?(admin_settings_path) %></span><% end %></li> | ||
<li><% if current_page?(admin_skins_path) %><span class="current"><% end %> | ||
<%= link_to_unless_current ts("skins"), admin_skins_path %> | ||
<% if current_page?(admin_skins_path) %></span><% end %></li> | ||
<ul class="admin navigation actions" role="navigation"> | ||
<li><%= span_if_current("Manage Users", admin_users_path) %></li> | ||
<li><%= span_if_current("Notifications", notify_admin_users_path) %></li> | ||
<li><%= span_if_current("Invitations", admin_invitations_path) %></li> | ||
<li><%= span_if_current("Abuse Reports", abuse_reports_path) %></li> | ||
<li><%= span_if_current("Admin Posts", admin_posts_path) %></li> | ||
<li><%= span_if_current("Settings", admin_settings_path) %></li> | ||
<li><%= span_if_current("Skins", admin_skins_path) %></li> | ||
</ul> |
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.