discourse/app/assets/javascripts/admin/addon/components/plugin-commit-hash.hbs

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}}