mirror of
https://github.com/discourse/discourse.git
synced 2025-04-08 18:42:55 +08:00
FIX: Unable to add new webhook if the webhooks list is empty
This commit is contained in:
parent
e72fd7ae4e
commit
9cc7df13a4
@ -1,12 +1,12 @@
|
|||||||
|
|
||||||
<div class='web-hooks-listing'>
|
<div class='web-hooks-listing'>
|
||||||
{{#if model}}
|
|
||||||
<p>{{i18n 'admin.web_hooks.instruction'}}</p>
|
<p>{{i18n 'admin.web_hooks.instruction'}}</p>
|
||||||
<div class='new-webhook'>
|
<div class='new-webhook'>
|
||||||
{{#link-to 'adminWebHooks.show' 'new' tagName='button' classNames='btn'}}
|
{{#link-to 'adminWebHooks.show' 'new' tagName='button' classNames='btn'}}
|
||||||
{{d-icon 'plus'}} {{i18n 'admin.web_hooks.new'}}
|
{{d-icon 'plus'}} {{i18n 'admin.web_hooks.new'}}
|
||||||
{{/link-to}}
|
{{/link-to}}
|
||||||
</div>
|
</div>
|
||||||
|
{{#if model}}
|
||||||
{{#load-more selector=".web-hooks tr" action="loadMore"}}
|
{{#load-more selector=".web-hooks tr" action="loadMore"}}
|
||||||
<table class='web-hooks grid'>
|
<table class='web-hooks grid'>
|
||||||
<thead>
|
<thead>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user