Skip to content
Kamoorjdocs
Documentation

Banner statistics

Manage values, translated labels and the order of homepage metric cards.

On this page

Where a metric appears

In Website Admin, open Home & About → Banner stats (/admin/banner-stats). Full Website admin access or the site_content permission is required. There are no organization, faculty or language scopes.

In the original hero a metric is displayed in a card beneath the description and before the buttons. The large value appears first, followed by the label for the current language. The wider layout places three cards in each row. In the admin table, search by value or label and optionally show the creation and update dates.

Value and translations

Value is required text shared by all languages. Enter the number and notation exactly as they should appear, for example 22k+. The API returns a string without calculation or automatic number localization. Label has English, Русский and Հայերեն tabs. English is required. This record has no link, image, measurement date or live statistics source.

For example, to publish a verified count of participating institutions, use Value 12, EN Institutions, RU Учреждения, HY Հաստատություններ. These are sample values, not a Kamoorj statistic. When the count changes, edit Value once. To change only its wording, update the appropriate language tab.

Verify the result

Open the original homepage in the relevant language and check the label and card order. GET /api/banner?locale=en returns the stats array with value and label. The value stays the same when switching languages because only the label is translated. Alternate homepage designs and the separate Plus/Traverse layouts render their own components and do not receive these cards for their hero. Banner image layers

Save, order and remove records

To add a record, open /admin/banner-stats/create. To update an existing record use Edit on the row (/admin/banner-stats/{record}/edit). All languages share one record. Save the form and use reorder mode in the table to drag rows into place. The API returns them in sort order. There is no publication toggle: saved records enter the public selection. Delete on the edit screen or bulk deletion on the list removes the record in all languages.

Implementation references

Updated Nov 27, 2026