mirror of
https://github.com/wahyd4/links.git
synced 2026-08-08 21:04:53 +10:00
style: simplify action description to one-line Chinese hint
This commit is contained in:
@@ -119,10 +119,7 @@
|
||||
</div>
|
||||
<div id="action-description" class="bg-purple-50 border-l-4 border-purple-400 p-4 mb-4 {% if not is_action %}hidden{% endif %}">
|
||||
<p class="text-sm text-purple-700">
|
||||
{% trans "Action type executes a predefined action when the link is opened (e.g. send a message to Discord). The text after the alias becomes {query} in the template." %}
|
||||
</p>
|
||||
<p class="text-sm text-purple-700 mt-2">
|
||||
{% trans "Example: go/news/今天有什么新闻 → sends \"@小黑 今天有什么新闻\" to Discord." %}
|
||||
⚡ 动作链接:打开链接时自动执行一个动作。链接后面跟的字会变成消息内容发给小黑。
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user