правки
This commit is contained in:
@@ -86,7 +86,7 @@ func (s *Placements) Exit() {}
|
||||
|
||||
// PlacementsList - экран со списком размещений
|
||||
const placementsPerPage = 6
|
||||
const placementsPerRow = 2
|
||||
const placementsPerRow = 1
|
||||
|
||||
type PlacementsList struct {
|
||||
ProjectID string
|
||||
@@ -152,9 +152,9 @@ func (s *PlacementsList) render(b *bot.Bot, mode bot.RenderMode) {
|
||||
}
|
||||
|
||||
// Текст кнопки: #N • Канал (с пробелом и разделителем)
|
||||
buttonText := fmt.Sprintf("#%d • %s", globalNum, channelName)
|
||||
buttonText := fmt.Sprintf("%d • %s", globalNum, channelName)
|
||||
if dateStr != "" {
|
||||
buttonText += fmt.Sprintf("\n%s", dateStr)
|
||||
buttonText += fmt.Sprintf(" %s", dateStr)
|
||||
}
|
||||
|
||||
buttons = append(buttons, echotron.InlineKeyboardButton{
|
||||
|
||||
Reference in New Issue
Block a user