mirror of
https://github.com/muerwre/vk-tg-bot.git
synced 2025-04-24 22:46:41 +07:00
#5 updated suggest template
This commit is contained in:
parent
174dcac9e6
commit
1fe3d35540
3 changed files with 22 additions and 4 deletions
|
@ -11,11 +11,15 @@
|
|||
---
|
||||
{{!--
|
||||
use handlebars template here
|
||||
available variables are: text, user, group
|
||||
available variables are: text, user, group, type
|
||||
(see PostNewHandler)
|
||||
--}}
|
||||
{{#ifEq type 'suggest'}}
|
||||
Предложка:
|
||||
|
||||
{{/ifEq}}
|
||||
{{text}}
|
||||
|
||||
{{#if user}}
|
||||
-- [{{user.first_name}} {{user.last_name}}](https://vk.com/id{{user.id}})
|
||||
[{{user.first_name}} {{user.last_name}}](https://vk.com/id{{user.id}})
|
||||
{{/if}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue