mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-03-03 15:27:07 +00:00
[AB-xxx] adding templates for getConfig command
This commit is contained in:
@@ -0,0 +1 @@
|
||||
<@config_value_display entry=configValue/>
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
"description": "<@safe_include "getConfig_no_configs_found_text"/>"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"embeds": [
|
||||
{
|
||||
"description": "<#list row as configValue><#assign configValue=configValue><@safe_include "getConfig_config_value_entry"/>\n</#list>"
|
||||
}
|
||||
],
|
||||
"buttons": [
|
||||
<#include "paginator_buttons">
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
<#include "getConfig_display_macro">
|
||||
{
|
||||
<#assign exitOnly=innerModel.values?size lt 10/>
|
||||
"embedConfigs": [
|
||||
<#assign chunks=innerModel.values?chunk(9)>
|
||||
<#list chunks as row><#assign counter=row?index><#assign row=row><#include "getConfig_response_embed"><#sep>,</#list>
|
||||
],
|
||||
"timeoutSeconds": 120,
|
||||
"restrictUser": true
|
||||
}
|
||||
Reference in New Issue
Block a user