Sha256: e5475bca93227b658f98f4e3f998d5b6d45ba50afbadc986bce907fe5da5c5c3
Contents?: true
Size: 952 Bytes
Versions: 2
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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
stones-1.2.2 | app/views/layouts/_footer.slim |
stones-1.2.1 | app/views/layouts/_footer.slim |