- 'app/helpers/application_helper.rb'
- 'app/helpers/attachments_helper.rb'
- 'app/helpers/queries_helper.rb'
- - 'app/models/changeset.rb'
- 'app/models/issue_query.rb'
- 'lib/redmine/export/pdf/issues_pdf_helper.rb'
- 'lib/redmine/i18n.rb'
if repository && repository.identifier.present?
repo = "#{repository.identifier}|"
end
- tag = if scmid?
- "commit:#{repo}#{scmid}"
- else
- "#{repo}r#{revision}"
- end
+ tag = scmid? ? "commit:#{repo}#{scmid}" : "#{repo}r#{revision}"
if ref_project && project && ref_project != project
tag = "#{project.identifier}:#{tag}"
end