ListSeeder düzenlemesi
This commit is contained in:
parent
56d92c4e8f
commit
73359891fc
4 changed files with 4656 additions and 14903 deletions
|
|
@ -4013,7 +4013,7 @@
|
|||
"resourceName": "Platform",
|
||||
"key": "ListForms.ListFormEdit.TabPaging",
|
||||
"en": "Paging",
|
||||
"tr": "Sayfalam"
|
||||
"tr": "Sayfalama"
|
||||
},
|
||||
{
|
||||
"resourceName": "Platform",
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -52,7 +52,7 @@ public static class LookupQueryValues
|
|||
|
||||
public static string BlogCategoryValues =
|
||||
$"SELECT " +
|
||||
$"\"Code\" AS \"Key\", " +
|
||||
$"\"Id\" AS \"Key\", " +
|
||||
$"\"Name\" AS \"Name\" " +
|
||||
$"FROM \"{FullNameTable(TableNameEnum.BlogCategory)}\" " +
|
||||
$"WHERE \"IsDeleted\" = 'false' " +
|
||||
|
|
@ -307,4 +307,20 @@ public static class LookupQueryValues
|
|||
$"\"HierarchyPath\" AS \"Name\" " +
|
||||
$"FROM \"{FullNameView(TableNameEnum.MaterialGroup)}\" " +
|
||||
$"WHERE \"IsDeleted\" = 'false' ";
|
||||
|
||||
public static string PermissionNameValues =
|
||||
$"SELECT \"Name\" AS \"Key\", " +
|
||||
$"CONCAT(\"Name\", ' (', \"DisplayName\", ')') AS \"Name\" " +
|
||||
$"FROM \"AbpPermissions\" " +
|
||||
$"WHERE \"IsDeleted\" = 'false' " +
|
||||
$"ORDER BY \"Name\";";
|
||||
|
||||
public static string MenuCodeValues =
|
||||
$"SELECT " +
|
||||
$"\"Code\" AS \"Key\", " +
|
||||
$"\"DisplayName\" AS \"Name\" " +
|
||||
$"FROM \"{TableNameResolver.GetFullTableName(nameof(TableNameEnum.Menu))}\" " +
|
||||
$"WHERE \"IsDeleted\" = 'false' " +
|
||||
"AND \"IsDisabled\" = 'false' " +
|
||||
$"ORDER BY \"ParentCode\", \"Order\";";
|
||||
}
|
||||
|
|
@ -29,13 +29,13 @@ import AnnouncementDetailModal from './modals/AnnouncementDetailModal'
|
|||
|
||||
// Social Wall
|
||||
import SocialWall from './SocialWall'
|
||||
import { SurveyDto } from '@/types/intranet'
|
||||
import { Container } from '@/components/shared'
|
||||
import { usePermission } from '@/utils/hooks/usePermission'
|
||||
import { AnnouncementDto, IntranetDashboardDto, SurveyAnswerDto } from '@/proxy/intranet/models'
|
||||
import { AnnouncementDto, IntranetDashboardDto, SurveyAnswerDto, SurveyDto } from '@/proxy/intranet/models'
|
||||
import { intranetService } from '@/services/intranet.service'
|
||||
import Announcements from './widgets/Announcements'
|
||||
import ShuttleRoute from './widgets/ShuttleRoute'
|
||||
import { useLocalization } from '@/utils/hooks/useLocalization'
|
||||
|
||||
dayjs.locale('tr')
|
||||
dayjs.extend(relativeTime)
|
||||
|
|
@ -60,6 +60,7 @@ const IntranetDashboard: React.FC = () => {
|
|||
})
|
||||
|
||||
const [intranetDashboard, setIntranetDashboard] = useState<IntranetDashboardDto>()
|
||||
const { translate } = useLocalization()
|
||||
|
||||
const fetchIntranetDashboard = async () => {
|
||||
const dashboard = await intranetService.getDashboard()
|
||||
|
|
@ -505,7 +506,7 @@ const IntranetDashboard: React.FC = () => {
|
|||
|
||||
<div>
|
||||
<p className="text-gray-600 dark:text-gray-400 mt-1">
|
||||
<span className="font-medium">Hoş geldiniz,</span>{' '}
|
||||
<span className="font-medium">{translate('::AI.Welcome')},</span>{' '}
|
||||
{dayjs().format('DD MMMM YYYY dddd')}
|
||||
</p>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue