Sha256: f41c1d66be1d17ba3714a5a08f89e7d355c33a7ba8df1c26a42a39096949d838
Contents?: true
Size: 944 Bytes
Versions: 1
Compression:
Stored size: 944 Bytes
Contents
ruby: # just a footer # feel free to modify to your needs # several constants and helpers are required separator = ' | ' app = "#{APP.upcase} #{APP_VERSION || VERSION}" year = Time.now.year if Rails.env.production? info_dev = "started at #{STARTED_AT}" else ruby = "Ruby #{RUBY_VERSION}-p#{RUBY_PATCHLEVEL}" rails = "Rails #{Rails.version} (#{Rails.env})" info_dev = "#{rails} | #{ruby} | #{STARTED_AT}" end # e.g. http://matique.de/de/privacy-policy before v1.1.0 # e.g. https://matique.com/home/page?page=gtc base = 'http://matique.com/home/page' footer div a href='http://matique.de' © #{year} matique UG = separator = link_to app.html_safe, about_path div = link_to ts(:terms, :button), "#{base}?page=gtc" = separator = link_to ts(:privacy, :button), "#{base}?page=privacy-policy" = separator = link_to ts(:impressum, :button), "#{base}?page=about" div = info_dev
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
stones-1.1.0 | app/views/layouts/_footer.slim |