Sha256: ef73a21f303a3a097a8483512e77fc8701baf5456ecead3d6535a9e0026570b9
Contents?: true
Size: 952 Bytes
Versions: 4
Compression:
Stored size: 952 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://matiq.com/de/privacy-policy before v1.1.0 # e.g. https://matiq.com/home/page?page=gtc base = 'http://matiq.com/home/page' footer div a href='http://matiq.com' © #{year} matiq UG (haftungsbeschränkt) = separator = link_to app.html_safe, about_path div = link_to t('button.terms'), "#{base}?page=gtc" = separator = link_to t('button.privacy'), "#{base}?page=privacy_policy" = separator = link_to t('button.impressum'), "#{base}?page=about" div = info_dev
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
stones-1.3.1 | app/views/layouts/_footer.slim |
stones-1.3.0 | app/views/layouts/_footer.slim |
stones-1.2.4 | app/views/layouts/_footer.slim |
stones-1.2.3 | app/views/layouts/_footer.slim |