public
Fork of halorgium/mephisto
Description: A mirror of the mephisto code-base
Homepage: http://mephistoblog.com/
Clone URL: git://github.com/technoweenie/mephisto.git
Click here to lend your support to: mephisto and make a donation at www.pledgie.com !
Remove user list from user show for now

git-svn-id: http://svn.techno-weenie.net/projects/mephisto/trunk@1434 
567b1171-46fb-0310-a4c9-b4bef9110e78
Caged (author)
Wed Jul 26 22:22:20 -0700 2006
commit  dec8a2baab3390db0bdab50cfb3ba2899e48eb2e
tree    31f1e58bbd6477d6353576b6a535a4ef0d767bbc
parent  293e8721ef7fbeb475b07b1a2e8d6c4a6774f8fd
...
2
3
4
5
 
6
7
8
...
2
3
4
 
5
6
7
8
0
@@ -2,7 +2,7 @@
0
   <% if user.deleted_at.nil? -%>
0
     <%= avatar_for user %>
0
     <h3><%= link_to user.login, :action => 'show', :id => user %></h3>
0
- <%= user.email %><br />
0
+ <%= user.email %>
0
     <%= link_to_remote 'Disable', :url => { :action => 'destroy', :id => user.id }, :confirm => 'Are you sure you wish to disable this user?' %>
0
   <% else -%>
0
     <h3><%= link_to user.login, :action => 'show', :id => user %> (<%= link_to_remote 'Enable', :url => { :action => 'enable', :id => user.id } %>)</h3>
...
10
11
12
13
14
15
16
17
18
19
20
21
...
10
11
12
 
 
 
 
 
 
 
13
14
0
@@ -10,11 +10,4 @@
0
 
0
 <% remote_form_for :user, :url => { :action => 'update', :id => @user }, :html => { :multipart => true } do |f| -%>
0
 <%= render :partial => 'form', :locals => { :f => f, :create => false } %>
0
-<% end -%>
0
-
0
-<% content_for :sidebar do -%>
0
-<h3>Users</h3>
0
-<ul id="users">
0
-<%= render :partial => "user", :collection => @users %>
0
-</ul>
0
 <% end -%>
0
\ No newline at end of file
...
3
4
5
6
 
7
8
9
...
20
21
22
23
 
24
25
...
3
4
5
 
6
7
8
9
...
20
21
22
 
23
24
25
0
@@ -3,7 +3,7 @@
0
 # In the development environment your application's code is reloaded on
0
 # every request. This slows down response time but is perfect for development
0
 # since you don't have to restart the webserver when you make code changes.
0
-config.cache_classes = false
0
+config.cache_classes = true
0
 
0
 # Log error messages when you accidentally call methods on nil.
0
 config.whiny_nils = true
0
@@ -20,5 +20,5 @@ config.action_mailer.raise_delivery_errors = false
0
 
0
 config.after_initialize do
0
   require 'application' unless Object.const_defined?(:ApplicationController)
0
- ReferencedPageCachingController.enabled = true
0
+ ReferencedPageCachingController.enabled = false
0
 end
0
\ No newline at end of file
...
21
22
23
24
 
25
26
27
...
21
22
23
 
24
25
26
27
0
@@ -21,7 +21,7 @@ fastcgi.server = ( ".fcgi" =>
0
         "max-procs" => 1,
0
         "socket" => CWD + "/tmp/sockets/fcgi.socket",
0
         "bin-path" => CWD + "/public/dispatch.fcgi",
0
- "bin-environment" => ( "RAILS_ENV" => "development" )
0
+ "bin-environment" => ( "RAILS_ENV" => "production" )
0
       )
0
   )
0
 )
...
76
77
78
79
80
 
81
82
83
...
85
86
87
 
88
89
90
91
92
93
94
95
...
76
77
78
 
79
80
81
82
83
...
85
86
87
88
89
90
91
92
 
93
94
95
0
@@ -76,8 +76,8 @@ ActiveRecord::Schema.define(:version => 36) do
0
     t.column "author_ip", :string, :limit => 100
0
     t.column "comments_count", :integer, :default => 0
0
     t.column "filters", :text
0
- t.column "version", :integer
0
     t.column "updater_id", :integer
0
+ t.column "version", :integer
0
     t.column "site_id", :integer
0
     t.column "approved", :boolean, :default => false
0
     t.column "expire_comments_at", :datetime
0
@@ -85,11 +85,11 @@ ActiveRecord::Schema.define(:version => 36) do
0
 
0
   create_table "events", :force => true do |t|
0
     t.column "mode", :string
0
+ t.column "user_id", :integer
0
     t.column "article_id", :integer
0
     t.column "title", :text
0
     t.column "body", :text
0
     t.column "created_at", :datetime
0
- t.column "user_id", :integer
0
     t.column "author", :string, :limit => 100
0
     t.column "comment_id", :integer
0
     t.column "site_id", :integer
...
210
211
212
213
 
214
215
216
...
210
211
212
 
213
214
215
216
0
@@ -210,7 +210,7 @@ input[type='text']:focus, textarea:focus {
0
   text-shadow: #333 2px 2px;
0
   border-left: 1px solid #bcb89f;
0
   border-right: 1px solid #bcb89f;
0
-
0
+ outline: none;
0
 }
0
 
0
 #nav a:hover {

Comments

    No one has commented yet.