Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Queue
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EIP
Labrador
Queue
Merge requests
!694
Development
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Merged
Development
development
into
master
Overview
1
Commits
29
Pipelines
0
Changes
79
Merged
Development
Ruben Backx
requested to merge
development
into
master
Sep 1, 2023
Overview
1
Commits
29
Pipelines
0
Changes
79
0
0
Merge request reports
Compare
master
version 1
37eb30ae
Sep 1, 2023
master (base)
and
latest version
latest version
ed8eb9b8
29 commits,
Sep 1, 2023
version 1
37eb30ae
28 commits,
Sep 1, 2023
79 files
+
2260
−
190
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
79
src/main/java/nl/tudelft/queue/config/ThymeleafConfig.java
+
7
−
0
View file @ ed8eb9b8
Edit in single-file editor
Open in Web IDE
Show full file
@@ -21,6 +21,8 @@ import java.time.LocalDateTime;
import
java.time.format.DateTimeFormatter
;
import
nl.tudelft.queue.dialect.AuthenticatedPersonDialect
;
import
nl.tudelft.queue.dialect.ProfileDialect
;
import
nl.tudelft.queue.repository.ProfileRepository
;
import
org.springframework.context.annotation.Bean
;
import
org.springframework.context.annotation.Configuration
;
@@ -44,6 +46,11 @@ public class ThymeleafConfig {
return
new
AuthenticatedPersonDialect
();
}
@Bean
public
ProfileDialect
profileDialect
(
ProfileRepository
profileRepository
)
{
return
new
ProfileDialect
(
profileRepository
);
}
/**
* Checks whether today is the day.
*
Loading