Sha256: 0ea56c39aca350c440c2c6acf95dce258dc86525582c2e961b2a1e6e1bb3e549

Contents?: true

Size: 336 Bytes

Versions: 114

Compression:

Stored size: 336 Bytes

Contents

module AuthorsHelper

  def attribution_caption(guide)
    if guide.collaborators.present?
      t(:authoring_note_with_collaborators_html, authors: guide.authors, collaborators: "https://raw.githubusercontent.com/#{guide.slug}/master/COLLABORATORS.txt")
    else
      t(:authoring_note_html, authors: guide.authors)
    end
  end
end

Version data entries

114 entries across 114 versions & 1 rubygems

Version Path
mumuki-laboratory-9.23.0 app/helpers/authors_helper.rb
mumuki-laboratory-9.22.0 app/helpers/authors_helper.rb
mumuki-laboratory-9.21.0 app/helpers/authors_helper.rb
mumuki-laboratory-9.20.1 app/helpers/authors_helper.rb
mumuki-laboratory-9.20.0 app/helpers/authors_helper.rb
mumuki-laboratory-9.19.0 app/helpers/authors_helper.rb
mumuki-laboratory-9.18.1 app/helpers/authors_helper.rb
mumuki-laboratory-9.18.0 app/helpers/authors_helper.rb
mumuki-laboratory-9.17.0 app/helpers/authors_helper.rb
mumuki-laboratory-9.16.0 app/helpers/authors_helper.rb
mumuki-laboratory-9.15.0 app/helpers/authors_helper.rb
mumuki-laboratory-9.14.1 app/helpers/authors_helper.rb
mumuki-laboratory-9.14.0 app/helpers/authors_helper.rb
mumuki-laboratory-9.13.2 app/helpers/authors_helper.rb
mumuki-laboratory-9.13.1 app/helpers/authors_helper.rb
mumuki-laboratory-9.13.0 app/helpers/authors_helper.rb
mumuki-laboratory-9.12.1 app/helpers/authors_helper.rb
mumuki-laboratory-9.12.0 app/helpers/authors_helper.rb
mumuki-laboratory-9.11.0 app/helpers/authors_helper.rb
mumuki-laboratory-9.10.0 app/helpers/authors_helper.rb