Skip to content

Commit

Permalink
feat(verification): updated and made ui more friendly for verification
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathias Brunkow Moser committed Jul 1, 2024
1 parent 2970166 commit f660bc3
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,14 @@ ul {
line-height: 36px;
font-weight: bold;
}
.verification-list ul{
list-style-type: none;
margin: 0;
padding: 0;
}
.verification.error{
color: red;
}
.verification {
padding-bottom: 16px;
}
Expand Down
3 changes: 2 additions & 1 deletion dpp-frontend/src/translations/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,8 @@
"issuer": "Aussteller",
"issuedAt": "Ausgestellt am",
"expirationDate": "Läuft ab am",
"reloadVerification": "Verifizierung aktualisieren",
"unverifiable": "Nicht Verifizierbar",
"reloadVerification": "Verifizierung Prüfen",
"verified": "Verifiziert",
"status": "Status",
"message": "Nachricht",
Expand Down
3 changes: 2 additions & 1 deletion dpp-frontend/src/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,11 @@
"passportHeader": {
"backBtn": "Back",
"verification": "Verified",
"unverifiable": "Unverifiable",
"issuer": "Issuer",
"issuedAt": "Issued at",
"expirationDate": "Expires at",
"reloadVerification": "Refresh verification",
"reloadVerification": "Check Verification",
"verified": "Verified",
"status": "Status",
"message": "Message",
Expand Down
4 changes: 4 additions & 0 deletions dpp-frontend/src/views/HomeView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ import SearchView from "./SearchView.vue";
import FooterComponent from "../components/general/Footer.vue";
import HeaderComponent from "../components/general/Header.vue";
import { inject } from "vue";
import authUtil from "../utils/authUtil"
export default {
// eslint-disable-next-line vue/multi-word-component-names
name: "HomeView",
Expand All @@ -55,6 +56,9 @@ export default {
auth: inject("authentication"),
};
},
created(){
authUtil.cleanUrl(this)
},
computed: {
welcomeUser() {
if (this.auth.isUserAuthenticated) {
Expand Down
5 changes: 4 additions & 1 deletion dpp-frontend/src/views/PageNotFound.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

<script>
import Error from "../media/500error.png";

import authUtil from "@/utils/authUtil.js";
export default {
// eslint-disable-next-line vue/multi-word-component-names
name: "PageNotFound",
Expand All @@ -42,6 +42,9 @@ export default {
Error,
};
},
async created() {
authUtil.cleanUrl(this)
}
};
</script>
<style scoped>
Expand Down

0 comments on commit f660bc3

Please sign in to comment.