mirror of
https://github.com/discourse/discourse.git
synced 2025-02-22 22:54:26 +08:00

This commit contains a few improvements: * Use LinkTo instead of a button with a weird action referencing the controller to navigate to the filtered settings for a plugin * Add an AdminPlugin model with tracked properties and use that when toggling the setting on/off and in the templates * Make it so the Settings button for a plugin navigates to the correct site setting category instead of always just going to the generic "plugins" one if possible
9 lines
211 B
Handlebars
9 lines
211 B
Handlebars
{{#if this.commitHash}}
|
|
<a
|
|
href={{@plugin.commitUrl}}
|
|
target="_blank"
|
|
rel="noopener noreferrer"
|
|
class="current commit-hash"
|
|
title={{this.commitHash}}
|
|
>{{this.shortCommitHash}}</a>
|
|
{{/if}} |