Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion cloudkittydashboard/dashboards/project/rating/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
from django.utils.translation import gettext_lazy as _
from django.views import generic
from horizon import exceptions
from horizon import views as horizon_views

from cloudkittydashboard.api import cloudkitty as api
from cloudkittydashboard import utils
Expand All @@ -32,7 +33,8 @@
'OPENSTACK_CLOUDKITTY_RATE_POSTFIX', None)


class IndexView(generic.TemplateView):
class IndexView(horizon_views.PageTitleMixin, generic.TemplateView):
page_title = _("Rating Dashboard")
template_name = 'project/rating/index.html'

def _get_month_dates(self, year, month):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,5 +188,6 @@ class ReportingTabs(tabs.TabGroup):


class IndexView(tabs.TabbedTableView):
page_title = _("Reporting")
tab_group_class = ReportingTabs
template_name = 'project/reporting/index.html'
6 changes: 3 additions & 3 deletions cloudkittydashboard/locale/ru/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ msgid ""
msgstr ""
"Project-Id-Version: cloudkitty-dashboard VERSION\n"
"Report-Msgid-Bugs-To: https://bugs.launchpad.net/openstack-i18n/\n"
"POT-Creation-Date: 2026-08-10 12:43+0000\n"
"POT-Creation-Date: 2026-10-05 09:33+0000\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"PO-Revision-Date: 2026-08-31 09:43+0000\n"
"PO-Revision-Date: 2026-10-15 09:55+0000\n"
"Last-Translator: Ivan Anfimov <lazekteam@gmail.com>\n"
"Language-Team: Russian\n"
"Language: ru\n"
Expand Down Expand Up @@ -66,7 +66,7 @@ msgid "Click on a metric to remove it from the pie chart."
msgstr "Нажмите на показатель, чтобы удалить его с круговой диаграммы."

msgid "Cloud Total"
msgstr "Облака всего"
msgstr "Все проекты"

msgid "Configurable"
msgstr "Настраиваемый"
Expand Down
6 changes: 4 additions & 2 deletions cloudkittydashboard/static/cloudkitty/css/datepicker.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,12 @@ button:disabled {
.dropdown-content {
display: none;
position: absolute;
bottom: 100%;
left: 0;
background-color: #f1f1f1;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
z-index: 1;
box-shadow: 0px -8px 16px 0px rgba(0, 0, 0, 0.2);
z-index: 1000;
}

.dropdown-content button {
Expand Down