Кнопки назад
This commit is contained in:
@@ -37,7 +37,7 @@ func (s *CreativeDetails) Enter(b *bot.Bot, mode bot.RenderMode) {
|
||||
if err != nil {
|
||||
log.Error().Err(err).Str("creative_id", s.CreativeID).Msg("Failed to get creative")
|
||||
b.SendNew("<b>❌ Не удалось загрузить креатив</b>", bot.Keyboard(
|
||||
bot.Row(bot.Button("« Назад", "back")),
|
||||
bot.Row(bot.Button("← Назад", "back")),
|
||||
))
|
||||
return
|
||||
}
|
||||
@@ -338,7 +338,7 @@ func (s *CreativeDetails) updateCreative(b *bot.Bot) {
|
||||
if err != nil {
|
||||
log.Error().Err(err).Str("creative_id", s.CreativeID).Msg("Failed to update creative")
|
||||
b.SendNew("<b>❌ Не удалось сохранить изменения</b>", bot.Keyboard(
|
||||
bot.Row(bot.Button("« Назад", "back")),
|
||||
bot.Row(bot.Button("← Назад", "back")),
|
||||
))
|
||||
return
|
||||
}
|
||||
@@ -372,7 +372,7 @@ func (s *CreativeDetails) deleteCreative(b *bot.Bot) {
|
||||
if err != nil {
|
||||
log.Error().Err(err).Str("creative_id", s.CreativeID).Msg("Failed to delete creative")
|
||||
b.SendNew("<b>❌ Не удалось удалить креатив</b>", bot.Keyboard(
|
||||
bot.Row(bot.Button("« Назад", "back")),
|
||||
bot.Row(bot.Button("← Назад", "back")),
|
||||
))
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user