2022-06-30 18:30:50 +08:00
|
|
|
<DSection @class="current-badge content-body">
|
2023-02-10 03:36:27 +08:00
|
|
|
<div class="control-group current-badge__toggle-badge">
|
|
|
|
<DToggleSwitch
|
|
|
|
@state={{this.buffered.enabled}}
|
|
|
|
@label={{this.badgeEnabledLabel}}
|
|
|
|
{{on "click" this.toggleBadge}}
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
|
2014-10-18 02:27:40 +08:00
|
|
|
<form class="form-horizontal">
|
2021-09-20 21:52:03 +08:00
|
|
|
<div class="control-group">
|
2014-12-09 05:35:49 +08:00
|
|
|
<label for="name">{{i18n "admin.badges.name"}}</label>
|
2022-07-06 01:41:31 +08:00
|
|
|
{{#if this.readOnly}}
|
2022-07-06 16:37:54 +08:00
|
|
|
<Input
|
|
|
|
@type="text"
|
|
|
|
name="name"
|
|
|
|
@value={{this.buffered.name}}
|
|
|
|
disabled={{true}}
|
|
|
|
/>
|
2020-12-09 03:55:49 +08:00
|
|
|
<p class="help">
|
2022-07-06 01:41:31 +08:00
|
|
|
<LinkTo
|
|
|
|
@route="adminSiteText"
|
|
|
|
@query={{hash q=(concat this.textCustomizationPrefix "name")}}
|
|
|
|
>
|
2020-12-09 03:55:49 +08:00
|
|
|
{{i18n "admin.badges.read_only_setting_help"}}
|
2022-06-30 18:30:50 +08:00
|
|
|
</LinkTo>
|
2020-12-09 03:55:49 +08:00
|
|
|
</p>
|
2015-12-27 06:58:54 +08:00
|
|
|
{{else}}
|
2022-07-06 16:37:54 +08:00
|
|
|
<Input @type="text" name="name" @value={{this.buffered.name}} />
|
2015-12-27 06:58:54 +08:00
|
|
|
{{/if}}
|
2014-10-18 02:27:40 +08:00
|
|
|
</div>
|
|
|
|
|
2021-09-20 21:52:03 +08:00
|
|
|
<div class="control-group">
|
2021-03-17 13:55:23 +08:00
|
|
|
<label for="graphic">{{i18n "admin.badges.graphic"}}</label>
|
2021-09-20 21:52:03 +08:00
|
|
|
<div class="radios inline-form full-width">
|
2021-03-17 13:55:23 +08:00
|
|
|
<label class="radio-label" for="badge-icon">
|
2022-07-06 01:41:31 +08:00
|
|
|
<RadioButton
|
|
|
|
@name="badge-icon"
|
|
|
|
@id="badge-icon"
|
|
|
|
@value="icon"
|
|
|
|
@selection={{this.selectedGraphicType}}
|
|
|
|
@onChange={{action "changeGraphicType"}}
|
|
|
|
/>
|
2021-03-17 13:55:23 +08:00
|
|
|
<span>{{i18n "admin.badges.select_an_icon"}}</span>
|
|
|
|
</label>
|
2014-10-18 02:27:40 +08:00
|
|
|
|
2021-03-17 13:55:23 +08:00
|
|
|
<label class="radio-label" for="badge-image">
|
2022-07-06 01:41:31 +08:00
|
|
|
<RadioButton
|
|
|
|
@name="badge-image"
|
|
|
|
@id="badge-image"
|
|
|
|
@value="image"
|
|
|
|
@selection={{this.selectedGraphicType}}
|
|
|
|
@onChange={{action "changeGraphicType"}}
|
|
|
|
/>
|
2021-03-17 13:55:23 +08:00
|
|
|
<span>{{i18n "admin.badges.upload_an_image"}}</span>
|
|
|
|
</label>
|
|
|
|
</div>
|
2022-07-06 01:41:31 +08:00
|
|
|
{{#if this.imageUploaderSelected}}
|
|
|
|
<UppyImageUploader
|
|
|
|
@id="badge-image-uploader"
|
|
|
|
@imageUrl={{this.buffered.image_url}}
|
|
|
|
@type="badge_image"
|
|
|
|
@onUploadDone={{action "setImage"}}
|
|
|
|
@onUploadDeleted={{action "removeImage"}}
|
|
|
|
@class="no-repeat contain-image"
|
|
|
|
/>
|
2021-03-17 13:55:23 +08:00
|
|
|
<div class="control-instructions">
|
|
|
|
<p class="help">{{i18n "admin.badges.image_help"}}</p>
|
|
|
|
</div>
|
2022-07-06 01:41:31 +08:00
|
|
|
{{else if this.iconSelectorSelected}}
|
|
|
|
<IconPicker
|
|
|
|
@name="icon"
|
|
|
|
@value={{this.buffered.icon}}
|
|
|
|
@options={{hash maximum=1}}
|
|
|
|
@onChange={{action (mut this.buffered.icon)}}
|
|
|
|
/>
|
2021-03-17 13:55:23 +08:00
|
|
|
{{/if}}
|
2014-10-21 01:15:58 +08:00
|
|
|
</div>
|
|
|
|
|
2021-09-20 21:52:03 +08:00
|
|
|
<div class="control-group">
|
2014-12-09 05:35:49 +08:00
|
|
|
<label for="badge_type_id">{{i18n "admin.badges.badge_type"}}</label>
|
2022-07-06 01:41:31 +08:00
|
|
|
<ComboBox
|
|
|
|
@name="badge_type_id"
|
|
|
|
@value={{this.buffered.badge_type_id}}
|
|
|
|
@content={{this.badgeTypes}}
|
|
|
|
@onChange={{action (mut this.buffered.badge_type_id)}}
|
|
|
|
@options={{hash disabled=this.readOnly}}
|
2022-06-30 18:30:50 +08:00
|
|
|
/>
|
2014-10-18 02:27:40 +08:00
|
|
|
</div>
|
|
|
|
|
2021-09-20 21:52:03 +08:00
|
|
|
<div class="control-group">
|
2014-12-09 05:35:49 +08:00
|
|
|
<label for="badge_grouping_id">{{i18n
|
|
|
|
"admin.badges.badge_grouping"
|
|
|
|
}}</label>
|
2018-11-22 23:21:15 +08:00
|
|
|
|
|
|
|
<div class="badge-grouping-control">
|
2022-07-06 01:41:31 +08:00
|
|
|
<ComboBox
|
|
|
|
@name="badge_grouping_id"
|
|
|
|
@value={{this.buffered.badge_grouping_id}}
|
|
|
|
@content={{this.badgeGroupings}}
|
|
|
|
@class="badge-selector"
|
|
|
|
@nameProperty="name"
|
|
|
|
@onChange={{action (mut this.buffered.badge_grouping_id)}}
|
2022-06-30 18:30:50 +08:00
|
|
|
/>
|
|
|
|
<DButton
|
|
|
|
@class="btn-default"
|
|
|
|
@action={{route-action "editGroupings"}}
|
|
|
|
@icon="pencil-alt"
|
2022-12-28 20:28:11 +08:00
|
|
|
/>
|
2018-11-22 23:21:15 +08:00
|
|
|
</div>
|
2014-10-18 02:27:40 +08:00
|
|
|
</div>
|
|
|
|
|
2021-09-20 21:52:03 +08:00
|
|
|
<div class="control-group">
|
2014-12-09 05:35:49 +08:00
|
|
|
<label for="description">{{i18n "admin.badges.description"}}</label>
|
2022-07-06 01:41:31 +08:00
|
|
|
{{#if this.buffered.system}}
|
2022-07-06 16:37:54 +08:00
|
|
|
<Textarea
|
|
|
|
name="description"
|
|
|
|
@value={{this.buffered.description}}
|
|
|
|
disabled={{true}}
|
|
|
|
/>
|
2020-12-09 03:55:49 +08:00
|
|
|
<p class="help">
|
2022-07-06 01:41:31 +08:00
|
|
|
<LinkTo
|
|
|
|
@route="adminSiteText"
|
|
|
|
@query={{hash
|
|
|
|
q=(concat this.textCustomizationPrefix "description")
|
|
|
|
}}
|
|
|
|
>
|
2020-12-09 03:55:49 +08:00
|
|
|
{{i18n "admin.badges.read_only_setting_help"}}
|
2022-06-30 18:30:50 +08:00
|
|
|
</LinkTo>
|
2020-12-09 03:55:49 +08:00
|
|
|
</p>
|
2016-03-28 15:38:38 +08:00
|
|
|
{{else}}
|
2022-07-06 16:37:54 +08:00
|
|
|
<Textarea name="description" @value={{this.buffered.description}} />
|
2016-03-28 15:38:38 +08:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
|
2021-09-20 21:52:03 +08:00
|
|
|
<div class="control-group">
|
2016-03-28 15:38:38 +08:00
|
|
|
<label for="long_description">{{i18n
|
|
|
|
"admin.badges.long_description"
|
|
|
|
}}</label>
|
2022-07-06 01:41:31 +08:00
|
|
|
{{#if this.buffered.system}}
|
2022-07-06 16:37:54 +08:00
|
|
|
<Textarea
|
|
|
|
name="long_description"
|
|
|
|
@value={{this.buffered.long_description}}
|
|
|
|
disabled={{true}}
|
|
|
|
/>
|
2020-12-09 03:55:49 +08:00
|
|
|
<p class="help">
|
2022-07-06 01:41:31 +08:00
|
|
|
<LinkTo
|
|
|
|
@route="adminSiteText"
|
|
|
|
@query={{hash
|
|
|
|
q=(concat this.textCustomizationPrefix "long_description")
|
|
|
|
}}
|
|
|
|
>
|
2020-12-09 03:55:49 +08:00
|
|
|
{{i18n "admin.badges.read_only_setting_help"}}
|
2022-06-30 18:30:50 +08:00
|
|
|
</LinkTo>
|
2020-12-09 03:55:49 +08:00
|
|
|
</p>
|
2014-10-18 02:27:40 +08:00
|
|
|
{{else}}
|
2022-07-06 16:37:54 +08:00
|
|
|
<Textarea
|
|
|
|
name="long_description"
|
|
|
|
@value={{this.buffered.long_description}}
|
|
|
|
/>
|
2014-10-18 02:27:40 +08:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
|
2022-07-06 01:41:31 +08:00
|
|
|
{{#if this.siteSettings.enable_badge_sql}}
|
2021-09-20 21:52:03 +08:00
|
|
|
<div class="control-group">
|
2016-07-28 07:03:00 +08:00
|
|
|
<label for="query">{{i18n "admin.badges.query"}}</label>
|
2022-07-06 01:41:31 +08:00
|
|
|
<AceEditor
|
|
|
|
@content={{this.buffered.query}}
|
|
|
|
@mode="sql"
|
|
|
|
@disabled={{this.readOnly}}
|
|
|
|
/>
|
2014-10-18 02:27:40 +08:00
|
|
|
</div>
|
|
|
|
|
2022-07-06 01:41:31 +08:00
|
|
|
{{#if this.hasQuery}}
|
DEV: Remove usage of {{action}} modifiers - Take 2 (#18476)
This PR enables the [`no-action-modifiers`](https://github.com/ember-template-lint/ember-template-lint/blob/master/docs/rule/no-action-modifiers.md) template lint rule and removes all usages of the `{{action}}` modifier in core.
In general, instances of `{{action "x"}}` have been replaced with `{{on "click" (action "x")}}`.
In many cases, such as for `a` elements, we also need to prevent default event handling to avoid unwanted side effects. While the `{{action}}` modifier internally calls `event.preventDefault()`, we need to handle these cases more explicitly. For this purpose, this PR also adds the [ember-event-helpers](https://github.com/buschtoens/ember-event-helpers) dependency so we can use the `prevent-default` handler. For instance:
```
<a href {{on "click" (prevent-default (action "x"))}}>Do X</a>
```
Note that `action` has not in general been refactored away as a helper yet. In general, all event handlers should be methods on the corresponding component and referenced directly (e.g. `{{on "click" this.doSomething}}`). However, the `action` helper is used extensively throughout the codebase and often references methods in the `actions` hash on controllers or routes. Thus this refactor will also be extensive and probably deserves a separate PR.
Note: This work was done to complement #17767 by minimizing the potential impact of the `action` modifier override, which uses private API and arguably should be replaced with an AST transform.
This is a followup to #18333, which had to be reverted because it did not account for the default treatment of modifier keys by the {{action}} modifier.
Commits:
* Enable `no-action-modifiers` template lint rule
* Replace {{action "x"}} with {{on "click" (action "x")}}
* Remove unnecessary action helper usage
* Remove ctl+click tests for user-menu
These tests now break in Chrome when used with addEventListener. As per the comment, they can probably be safely removed.
* Prevent default event handlers to avoid unwanted side effects
Uses `event.preventDefault()` in event handlers to prevent default event handling. This had been done automatically by the `action` modifier, but is not always desirable or necessary.
* Restore UserCardContents#showUser action to avoid regression
By keeping the `showUser` action, we can avoid a breaking change for plugins that rely upon it, while not interfering with the `showUser` argument that's been passed.
* Revert EditCategoryTab#selectTab -> EditCategoryTab#select
Avoid potential breaking change in themes / plugins
* Restore GroupCardContents#showGroup action to avoid regression
By keeping the `showGroup` action, we can avoid a breaking change for plugins that rely upon it, while not interfering with the `showGroup` argument that's been passed.
* Restore SecondFactorAddTotp#showSecondFactorKey action to avoid regression
By keeping the `showSecondFactorKey` action, we can avoid a breaking change for plugins that rely upon it, while not interfering with the `showSecondFactorKey` property that's maintained on the controller.
* Refactor away from `actions` hash in ChooseMessage component
* Modernize EmojiPicker#onCategorySelection usage
* Modernize SearchResultEntry#logClick usage
* Modernize Discovery::Categories#showInserted usage
* Modernize Preferences::Account#resendConfirmationEmail usage
* Modernize MultiSelect::SelectedCategory#onSelectedNameClick usage
* Favor fn over action in SelectedChoice component
* Modernize WizardStep event handlers
* Favor fn over action usage in buttons
* Restore Login#forgotPassword action to avoid possible regression
* Introduce modKeysPressed utility
Returns an array of modifier keys that are pressed during a given `MouseEvent` or `KeyboardEvent`.
* Don't interfere with click events on links with `href` values when modifier keys are pressed
2022-10-05 20:08:54 +08:00
|
|
|
<a
|
|
|
|
href
|
|
|
|
{{on "click" (fn this.showPreview this.buffered "false")}}
|
|
|
|
>{{i18n "admin.badges.preview.link_text"}}</a>
|
2016-07-28 07:03:00 +08:00
|
|
|
|
|
DEV: Remove usage of {{action}} modifiers - Take 2 (#18476)
This PR enables the [`no-action-modifiers`](https://github.com/ember-template-lint/ember-template-lint/blob/master/docs/rule/no-action-modifiers.md) template lint rule and removes all usages of the `{{action}}` modifier in core.
In general, instances of `{{action "x"}}` have been replaced with `{{on "click" (action "x")}}`.
In many cases, such as for `a` elements, we also need to prevent default event handling to avoid unwanted side effects. While the `{{action}}` modifier internally calls `event.preventDefault()`, we need to handle these cases more explicitly. For this purpose, this PR also adds the [ember-event-helpers](https://github.com/buschtoens/ember-event-helpers) dependency so we can use the `prevent-default` handler. For instance:
```
<a href {{on "click" (prevent-default (action "x"))}}>Do X</a>
```
Note that `action` has not in general been refactored away as a helper yet. In general, all event handlers should be methods on the corresponding component and referenced directly (e.g. `{{on "click" this.doSomething}}`). However, the `action` helper is used extensively throughout the codebase and often references methods in the `actions` hash on controllers or routes. Thus this refactor will also be extensive and probably deserves a separate PR.
Note: This work was done to complement #17767 by minimizing the potential impact of the `action` modifier override, which uses private API and arguably should be replaced with an AST transform.
This is a followup to #18333, which had to be reverted because it did not account for the default treatment of modifier keys by the {{action}} modifier.
Commits:
* Enable `no-action-modifiers` template lint rule
* Replace {{action "x"}} with {{on "click" (action "x")}}
* Remove unnecessary action helper usage
* Remove ctl+click tests for user-menu
These tests now break in Chrome when used with addEventListener. As per the comment, they can probably be safely removed.
* Prevent default event handlers to avoid unwanted side effects
Uses `event.preventDefault()` in event handlers to prevent default event handling. This had been done automatically by the `action` modifier, but is not always desirable or necessary.
* Restore UserCardContents#showUser action to avoid regression
By keeping the `showUser` action, we can avoid a breaking change for plugins that rely upon it, while not interfering with the `showUser` argument that's been passed.
* Revert EditCategoryTab#selectTab -> EditCategoryTab#select
Avoid potential breaking change in themes / plugins
* Restore GroupCardContents#showGroup action to avoid regression
By keeping the `showGroup` action, we can avoid a breaking change for plugins that rely upon it, while not interfering with the `showGroup` argument that's been passed.
* Restore SecondFactorAddTotp#showSecondFactorKey action to avoid regression
By keeping the `showSecondFactorKey` action, we can avoid a breaking change for plugins that rely upon it, while not interfering with the `showSecondFactorKey` property that's maintained on the controller.
* Refactor away from `actions` hash in ChooseMessage component
* Modernize EmojiPicker#onCategorySelection usage
* Modernize SearchResultEntry#logClick usage
* Modernize Discovery::Categories#showInserted usage
* Modernize Preferences::Account#resendConfirmationEmail usage
* Modernize MultiSelect::SelectedCategory#onSelectedNameClick usage
* Favor fn over action in SelectedChoice component
* Modernize WizardStep event handlers
* Favor fn over action usage in buttons
* Restore Login#forgotPassword action to avoid possible regression
* Introduce modKeysPressed utility
Returns an array of modifier keys that are pressed during a given `MouseEvent` or `KeyboardEvent`.
* Don't interfere with click events on links with `href` values when modifier keys are pressed
2022-10-05 20:08:54 +08:00
|
|
|
<a href {{on "click" (fn this.showPreview this.buffered "true")}}>{{i18n
|
|
|
|
"admin.badges.preview.plan_text"
|
|
|
|
}}</a>
|
2022-07-06 01:41:31 +08:00
|
|
|
{{#if this.preview_loading}}
|
2020-09-15 21:22:46 +08:00
|
|
|
{{i18n "loading"}}
|
2016-07-28 07:03:00 +08:00
|
|
|
{{/if}}
|
2014-10-18 02:27:40 +08:00
|
|
|
|
2021-09-20 21:52:03 +08:00
|
|
|
<div class="control-group">
|
2016-07-28 07:03:00 +08:00
|
|
|
<label>
|
2022-09-01 01:40:40 +08:00
|
|
|
<Input
|
|
|
|
name="auto_revoke"
|
|
|
|
@type="checkbox"
|
|
|
|
@checked={{this.buffered.auto_revoke}}
|
|
|
|
disabled={{this.readOnly}}
|
|
|
|
/>
|
2016-07-28 07:03:00 +08:00
|
|
|
{{i18n "admin.badges.auto_revoke"}}
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
|
2021-09-20 21:52:03 +08:00
|
|
|
<div class="control-group">
|
2016-07-28 07:03:00 +08:00
|
|
|
<label>
|
2022-09-01 01:40:40 +08:00
|
|
|
<Input
|
|
|
|
name="target_posts"
|
|
|
|
@type="checkbox"
|
|
|
|
@checked={{this.buffered.target_posts}}
|
|
|
|
disabled={{this.readOnly}}
|
|
|
|
/>
|
2016-07-28 07:03:00 +08:00
|
|
|
{{i18n "admin.badges.target_posts"}}
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
|
2021-09-20 21:52:03 +08:00
|
|
|
<div class="control-group">
|
2016-07-28 07:03:00 +08:00
|
|
|
<label for="trigger">{{i18n "admin.badges.trigger"}}</label>
|
2022-09-01 01:40:40 +08:00
|
|
|
<ComboBox
|
|
|
|
name="trigger"
|
|
|
|
@value={{this.buffered.trigger}}
|
|
|
|
@content={{this.badgeTriggers}}
|
|
|
|
@onChange={{action (mut this.buffered.trigger)}}
|
2022-07-06 01:41:31 +08:00
|
|
|
@options={{hash disabled=this.readOnly}}
|
2022-06-30 18:30:50 +08:00
|
|
|
/>
|
2016-07-28 07:03:00 +08:00
|
|
|
</div>
|
|
|
|
{{/if}}
|
2014-10-18 02:27:40 +08:00
|
|
|
{{/if}}
|
|
|
|
|
2021-09-20 21:52:03 +08:00
|
|
|
<div class="control-group">
|
|
|
|
<div>
|
|
|
|
<label>
|
2022-07-06 01:41:31 +08:00
|
|
|
<Input @type="checkbox" @checked={{this.buffered.allow_title}} />
|
2021-09-20 21:52:03 +08:00
|
|
|
{{i18n "admin.badges.allow_title"}}
|
|
|
|
</label>
|
|
|
|
</div>
|
2014-10-18 02:27:40 +08:00
|
|
|
|
2021-09-20 21:52:03 +08:00
|
|
|
<div>
|
|
|
|
<label>
|
2022-07-06 16:37:54 +08:00
|
|
|
<Input
|
|
|
|
@type="checkbox"
|
|
|
|
@checked={{this.buffered.multiple_grant}}
|
|
|
|
disabled={{this.readOnly}}
|
|
|
|
/>
|
2021-09-20 21:52:03 +08:00
|
|
|
{{i18n "admin.badges.multiple_grant"}}
|
|
|
|
</label>
|
|
|
|
</div>
|
2014-10-18 02:27:40 +08:00
|
|
|
|
2021-09-20 21:52:03 +08:00
|
|
|
<div>
|
|
|
|
<label>
|
2022-07-06 16:37:54 +08:00
|
|
|
<Input
|
|
|
|
@type="checkbox"
|
|
|
|
@checked={{this.buffered.listable}}
|
|
|
|
disabled={{this.readOnly}}
|
|
|
|
/>
|
2021-09-20 21:52:03 +08:00
|
|
|
{{i18n "admin.badges.listable"}}
|
|
|
|
</label>
|
|
|
|
</div>
|
2014-10-18 02:27:40 +08:00
|
|
|
|
2021-09-20 21:52:03 +08:00
|
|
|
<div>
|
|
|
|
<label>
|
2022-07-06 16:37:54 +08:00
|
|
|
<Input
|
|
|
|
@type="checkbox"
|
|
|
|
@checked={{this.buffered.show_posts}}
|
|
|
|
disabled={{this.readOnly}}
|
|
|
|
/>
|
2021-09-20 21:52:03 +08:00
|
|
|
{{i18n "admin.badges.show_posts"}}
|
|
|
|
</label>
|
|
|
|
</div>
|
2014-10-18 02:27:40 +08:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="buttons">
|
2022-07-06 01:41:31 +08:00
|
|
|
<DButton
|
|
|
|
@class="btn-primary"
|
|
|
|
@action={{action "save"}}
|
|
|
|
@type="submit"
|
|
|
|
@disabled={{this.saving}}
|
|
|
|
@label="admin.badges.save"
|
|
|
|
/>
|
|
|
|
<span class="saving">{{this.savingStatus}}</span>
|
|
|
|
{{#unless this.readOnly}}
|
2022-08-03 17:12:17 +08:00
|
|
|
<DButton
|
|
|
|
@action={{action "destroyBadge"}}
|
|
|
|
@class="btn-danger"
|
|
|
|
@label="admin.badges.delete"
|
|
|
|
/>
|
2014-10-18 02:27:40 +08:00
|
|
|
{{/unless}}
|
|
|
|
</div>
|
|
|
|
</form>
|
2022-06-30 18:30:50 +08:00
|
|
|
</DSection>
|
2014-10-18 02:27:40 +08:00
|
|
|
|
2022-07-06 01:41:31 +08:00
|
|
|
{{#if this.grant_count}}
|
2018-02-15 01:26:05 +08:00
|
|
|
<div class="content-body current-badge-actions">
|
2014-10-18 02:27:40 +08:00
|
|
|
<div>
|
2023-02-23 10:21:26 +08:00
|
|
|
<LinkTo @route="badges.show" @model={{this}}>
|
2023-07-31 17:41:30 +08:00
|
|
|
{{html-safe
|
|
|
|
(i18n
|
|
|
|
"badges.awarded"
|
|
|
|
count=this.displayCount
|
|
|
|
number=(number this.displayCount)
|
|
|
|
)
|
|
|
|
}}
|
2023-02-23 10:21:26 +08:00
|
|
|
</LinkTo>
|
2014-10-18 02:27:40 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|