forked from saurabh/orbit4-5
text with number of counts
This commit is contained in:
parent
694f839217
commit
451176b068
|
@ -66,6 +66,7 @@ module ApplicationHelper
|
||||||
site_footer = site_footer.nil? ? "" : site_footer
|
site_footer = site_footer.nil? ? "" : site_footer
|
||||||
html = html.gsub("{{footer-data}}",site_footer)
|
html = html.gsub("{{footer-data}}",site_footer)
|
||||||
counter = Page.root.view_count.to_s rescue ""
|
counter = Page.root.view_count.to_s rescue ""
|
||||||
|
counter = t(:visitors_count) + " : " + counter
|
||||||
html = html.gsub("{{site-counter}}",counter)
|
html = html.gsub("{{site-counter}}",counter)
|
||||||
html.html_safe
|
html.html_safe
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue