время в топе и тэги креативов
This commit is contained in:
@@ -31,6 +31,7 @@ type CreativeEditorFields struct {
|
||||
Name *string
|
||||
Text *string
|
||||
Buttons []InlineButton
|
||||
Tag *string // "testing" or "production"
|
||||
|
||||
// Медиа
|
||||
MediaItems []MediaItem
|
||||
@@ -663,6 +664,9 @@ func (e *CreativeEditorFields) BuildEditorButtons(confirmText, confirmCallback,
|
||||
}
|
||||
buttons = append(buttons, Row(Button(addButtonLabel, addButtonCallback)))
|
||||
|
||||
// Кнопка выбора тега
|
||||
buttons = append(buttons, Row(Button(e.GetTagLabel(), "edit_tag")))
|
||||
|
||||
// Кнопка удаления медиа (если медиа добавлено)
|
||||
if len(e.MediaItems) > 0 {
|
||||
label := "⌫ Убрать медиа"
|
||||
|
||||
Reference in New Issue
Block a user