diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb
index 981d631b0..6ac7d3a31 100644
--- a/app/controllers/users_controller.rb
+++ b/app/controllers/users_controller.rb
@@ -43,7 +43,6 @@ class UsersController < ApplicationController
helper :words
#added by young
def user_projects
- @message = MessagesForUser.find_message(@user.id)
@memberships = @user.memberships.all(:conditions => Project.visible_condition(User.current))
events = Redmine::Activity::Fetcher.new(User.current, :author => @user).events(nil, nil, :limit => 20)
@@ -78,11 +77,6 @@ class UsersController < ApplicationController
# added by fq
def user_activities
- #####fq
- # @message = MessagesForUser.find_message(@user.id)
- # show projects based on current user visibility
- # @memberships = @user.memberships.all(:conditions => Project.visible_condition(User.current))
-
@watcher = User.watched_by_id(@user)
events = []
for user in @watcher
diff --git a/app/views/users/index.html.erb b/app/views/users/index.html.erb
index 232ab672f..e61cbbba9 100644
--- a/app/views/users/index.html.erb
+++ b/app/views/users/index.html.erb
@@ -77,15 +77,6 @@
<%= l(:label_filter_plural) %>
-->
-
- <%= select_tag 'status', users_status_options_for_select(@status), :class => "small", :onchange => "this.form.submit(); return false;" %>
-
- <% if @groups.present? %>
-
- <%= select_tag 'group_id', content_tag('option') + options_from_collection_for_select(@groups, :id, :name, params[:group_id].to_i), :onchange => "this.form.submit(); return false;" %>
- <% end %>
-
-
<%= text_field_tag 'name', params[:name], :size => 30 %>
<%= submit_tag l(:label_search), :class => "small", :name => nil %>
diff --git a/app/views/words/_message.html.erb b/app/views/words/_message.html.erb
index 45c2d8df8..003dc1660 100644
--- a/app/views/words/_message.html.erb
+++ b/app/views/words/_message.html.erb
@@ -20,7 +20,7 @@
<%= textilizable journal.notes%> |
- <%= formal_time journal.created_at %> |
+ <%= format_time journal.created_at %> |
<%= link_to(image_tag('comment.png'), {:controller => 'words', :action => 'new', :id => user, :journal_id => journal}, :remote => true,
:method => 'post', :title => l(:button_quote))%><%= link_to(image_tag('delete.png'), {:controller => 'words', :action => 'destroy', :object_id => journal, :user_id => user},
:remote => true, :method => 'delete', :class => "delete", :title => l(:button_delete)) if remove_allowed || journal.jour_id == User.current.id %> |