Merge branch 'wiki'
Conflicts: app/helpers/pages_helper.rb public/stylesheets/main.css public/stylesheets/print.css
This commit is contained in:
commit
529956ea5a
15 changed files with 381 additions and 180 deletions
|
|
@ -12,6 +12,10 @@ module ApplicationHelper
|
|||
def format_datetime(time = Time.now)
|
||||
I18n.l(time) unless time.nil?
|
||||
end
|
||||
|
||||
def format_datetime_timespec(time, format)
|
||||
I18n.l(time, :format => format) unless (time.nil? or format.nil?)
|
||||
end
|
||||
|
||||
# Creates ajax-controlled-links for pagination
|
||||
# see also the plugin "will_paginate"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue