discourse/app/assets/javascripts/admin/addon/components/plugin-commit-hash.hbs
Vinoth Kannan fa047d928d
FIX: render plugin's commit URL correctly and open in new window. (#22273)
Previously, the URLs are missed in the commit links in the version column. Follow up to: https://github.com/discourse/discourse/pull/22176
2023-06-26 22:43:25 +05:30

9 lines
212 B
Handlebars

{{#if this.commitHash}}
<a
href={{@plugin.commit_url}}
target="_blank"
rel="noopener noreferrer"
class="current commit-hash"
title={{this.commitHash}}
>{{this.shortCommitHash}}</a>
{{/if}}