Forums enhancements:
* messages can now be edited/deleted (explicit permissions need to be given) * topics can be locked so that no reply can be added (only by users allowed to edit messages) * topics can be marked as sticky so that they always appear at the top of the list (only by users allowed to edit messages) git-svn-id: http://redmine.rubyforge.org/svn/trunk@926 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
1 parent
866e9e2503
commit
29b3614bcb
19 files changed
+294
-36
No files matched your search
@@ -34,7 +34,7 @@ module ApplicationHelper
|
||||
|
||||
# Display a link to user's account page
|
||||
def link_to_user(user)
|
||||
link_to user.name, :controller => 'account', :action => 'show', :id => user
|
||||
user ? link_to(user, :controller => 'account', :action => 'show', :id => user) : 'Anonymous'
|
||||
end
|
||||
|
||||
def link_to_issue(issue)
|
||||
@@ -92,7 +92,7 @@ module ApplicationHelper
|
||||
|
||||
def authoring(created, author)
|
||||
time_tag = content_tag('acronym', distance_of_time_in_words(Time.now, created), :title => format_time(created))
|
||||
l(:label_added_time_by, author.name, time_tag)
|
||||
l(:label_added_time_by, author || 'Anonymous', time_tag)
|
||||
end
|
||||
|
||||
def day_name(day)
|
||||
|
||||
Reference in new issue
Block a user