Skip to content

Add Check User Unique Email Rest API, Using Fontawesome for Icons, Update user function, Delete user function, Update user enabled and Disabled status.

Notifications You must be signed in to change notification settings

svahaGirl/SvahaProject_LessonFour

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Svahaproject Lesson 4

On top of Lesson 3, we added the following functionalities:

- Update User information function

- Enable and disable user function

- Utilize Fontawesome for icons

File changed:

- UserRepository create updateEnabledStatus method

- UserRepositoryTests testDisableUser() and testEnableUser()

- UserService create updateUserEnabledStatus method

- UserController create updateUserEnabledStatus method

- Users.html

Modify

<a th:if=”${user.enabled==true}” class= “fas fa-check-circle fa-2x icon-green” Th:href=”@{‘/users/’ +${user.id} + ‘/enabled/false’}” Title=”Disable this user”> <a th:if=”${user.enabled==false}” class= “fas fa-circle fa-2x icon-dark” Th:href=”@{‘/users/’ +${user.id} + ‘/enabled/true’}” Title=”Enable this user”>

About

Add Check User Unique Email Rest API, Using Fontawesome for Icons, Update user function, Delete user function, Update user enabled and Disabled status.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published