TEST UPD
-translation -front works
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
<!-- Прогресс до следующего места -->
|
||||
<div v-if="pointsToNext > 0" class="mt-4 p-3 bg-blue-50 rounded-lg">
|
||||
<div class="text-sm text-gray-600 mb-1">
|
||||
{{ __('To reach :position place:', { position: nextPosition }) }}
|
||||
{{`${__('To reach')} ${nextPosition} ${__('position:')}`}}
|
||||
</div>
|
||||
<div class="flex items-center justify-between">
|
||||
<span class="text-lg font-bold text-blue-600">+{{ pointsToNext }} {{ __('points') }}</span>
|
||||
@@ -125,7 +125,7 @@
|
||||
<!-- Заголовок таблицы -->
|
||||
<div :class="['px-6 py-4 bg-gradient-to-r', getGroupGradientClass(activeGroup)]">
|
||||
<h2 class="text-xl font-bold text-white">
|
||||
{{ activeGroupLabel }} - Топ {{ currentLeaderboard.length }}
|
||||
{{ activeGroupLabel }} - {{ __('Top') }} {{ currentLeaderboard.length }}
|
||||
</h2>
|
||||
<!-- Примечание о бонусах только для школьников -->
|
||||
<p v-if="activeGroup === 'LMS Schoolchild'" class="text-white text-opacity-90 text-sm mt-1">
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="min-h-screen bg-surface-gray-1">
|
||||
<div class="min-h-screen bg-white">
|
||||
<NoPermission v-if="!$user.data" />
|
||||
|
||||
<div v-else-if="profile.error" class="p-6">
|
||||
@@ -199,7 +199,7 @@
|
||||
<!-- EDIT MODE -->
|
||||
<div v-else class="mt-6">
|
||||
<div class="bg-white rounded-2xl shadow-sm border border-gray-200 overflow-hidden">
|
||||
<div class="px-6 py-4 border-b border-gray-100 bg-gray-50">
|
||||
<div class="px-6 py-4 border-b border-gray-100 bg-teal-400">
|
||||
<h3 class="text-xl font-semibold text-gray-900">Редактирование профиля</h3>
|
||||
<p class="text-sm text-gray-600 mt-1">Заполните информацию о себе</p>
|
||||
</div>
|
||||
@@ -379,7 +379,7 @@
|
||||
<Button
|
||||
@click="saveProfile"
|
||||
:loading="saving"
|
||||
class="bg-primary-600 hover:bg-primary-700 text-white px-6 py-3 rounded-lg font-medium transition-colors duration-200 flex items-center gap-2"
|
||||
class="bg-teal-400 hover:bg-teal-700 text-white px-8 py-3 rounded-lg font-medium transition-colors duration-200 flex items-center gap-2"
|
||||
>
|
||||
<svg v-if="!saving" class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"/>
|
||||
|
||||
Reference in New Issue
Block a user