Skip to content

Commit ff05594

Browse files
authored
Merge pull request #78 from stackhpc/upstream/master-2025-10-13
Synchronise master with upstream
2 parents 07ea8fe + 991ac15 commit ff05594

14 files changed

+85
-7
lines changed

cloudkittydashboard/dashboards/project/rating/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def get_data(self):
5252

5353
def quote(request):
5454
pricing = 0.0
55-
if request.is_ajax():
55+
if request.headers.get('x-requested-with') == 'XMLHttpRequest':
5656
if request.method == 'POST':
5757
json_data = json.loads(request.body)
5858

cloudkittydashboard/enabled/_10_admin_group.py renamed to cloudkittydashboard/enabled/_32010_admin_group.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
# License for the specific language governing permissions and limitations
1313
# under the License.
1414

15+
from django.utils.translation import gettext_lazy as _
16+
1517
PANEL_GROUP = 'rating'
16-
PANEL_GROUP_NAME = 'Rating'
18+
PANEL_GROUP_NAME = _('Rating')
1719
PANEL_GROUP_DASHBOARD = 'admin'

cloudkittydashboard/enabled/_10_project_group.py renamed to cloudkittydashboard/enabled/_32011_project_group.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
# License for the specific language governing permissions and limitations
1313
# under the License.
1414

15+
from django.utils.translation import gettext_lazy as _
16+
1517
PANEL_GROUP = 'rating'
16-
PANEL_GROUP_NAME = 'Rating'
18+
PANEL_GROUP_NAME = _('Rating')
1719
PANEL_GROUP_DASHBOARD = 'project'

0 commit comments

Comments
 (0)