Skip to content

Commit

Permalink
remove internet.nl support references while keeping internet.nl dashb…
Browse files Browse the repository at this point in the history
…oard branding
  • Loading branch information
stitch committed Jun 24, 2024
1 parent efa7f0c commit 025b40e
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 17 deletions.
6 changes: 4 additions & 2 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,12 @@
<router-view></router-view>
</keep-alive>
</div>
<GithubMessage />
<GithubMessage v-if="$store.state.config.app.layout === 'internet_nl'" />
</div>
</main>

<footer id="footer">
<footer id="footer" v-if="$store.state.config.app.layout === 'internet_nl'">
<template>
<img id="flag" src="static/images/vendor/internet_nl/clear.gif" alt="">
<div class="wrap">
{{ $t('base.info') }}
Expand All @@ -43,6 +44,7 @@

</ul>
</div>
</template>
</footer>
</div>
</template>
Expand Down
6 changes: 4 additions & 2 deletions src/components/SiteMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,10 @@ li a {
<b-navbar toggleable="md" id="sitenav">
<b-container class="max_container_width">
<b-navbar-brand to="domains">
<p id="site-title"><a><span class="hidden">{{ $t('sitetitle') }}</span></a></p>
<p id="site-description"><span class="hidden">{{ $t('sitedescription') }}</span></p>
<template v-if="$store.state.config.app.layout === 'internet_nl'">
<p id="site-title"><a><span class="hidden">{{ $t('sitetitle') }}</span></a></p>
<p id="site-description"><span class="hidden">{{ $t('sitedescription') }}</span></p>
</template>
</b-navbar-brand>

<b-navbar-toggle target="nav-collapse"></b-navbar-toggle>
Expand Down
2 changes: 1 addition & 1 deletion src/components/admin/InstantAddAccount.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default {
{
"en": {
"title": "Instant User Creation",
"intro": "This creates a standard user, an Account to internet.nl and the bridge between it (DashboardUser). There are minimal password checks on this form. This form is intended to quickly migrate API user accounts and give them access to the dashboard with the same username and password.",
"intro": "This creates a standard user, an Account to an internet.nl API and the bridge between it (DashboardUser). There are minimal password checks on this form. This form is intended to quickly migrate API user accounts and give them access to the dashboard with the same username and password.",
"username": "Username",
"password": "Password",
"save": "Add user"
Expand Down
4 changes: 2 additions & 2 deletions src/components/home/PublicReports.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default {
"domains": "domains",
"View report": "View report",
"Public reports": "Public reports created by dashboard staff",
"introduction": "These reports are created, curated and shared by the internet.nl staff",
"introduction": "These reports are created, curated and shared by the internet.nl dashboard staff",
"Score": "Internet.nl score",
"Name": "Report",
"Published": "Publication date",
Expand All @@ -60,7 +60,7 @@ export default {
"domains": "domeinen",
"View report": "Bekijk rapport",
"Public reports": "Openbare rapporten samengesteld door dashboard beheerders",
"introduction": "Deze rapporten worden gemaakt, samengesteld en gedeeld door internet.nl",
"introduction": "Deze rapporten worden gemaakt, samengesteld en gedeeld door het internet.nl dashboard team",
"Score": "Internet.nl score",
"Name": "Rapport",
"Published": "Gepubliceerd op",
Expand Down
4 changes: 2 additions & 2 deletions src/components/home/PublicReportsTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export default {
"domains": "domains",
"View report": "View report",
"Recently published reports": "Recently published reports",
"introduction": "These reports are created, curated and shared by the internet.nl staff",
"introduction": "These reports are created, curated and shared by the internet.nl dashboard staff",
"Score": "Internet.nl score",
"Name": "Report",
"Published": "Publication date",
Expand All @@ -100,7 +100,7 @@ export default {
"domains": "domeinen",
"View report": "Bekijk rapport",
"Recently published reports": "Recent gepubliceerde rapporten",
"introduction": "Deze rapporten worden gemaakt, samengesteld en gedeeld door internet.nl",
"introduction": "Deze rapporten worden gemaakt, samengesteld en gedeeld door het internet.nl dashboard team",
"Score": "Internet.nl score",
"Name": "Rapport",
"Published": "Gepubliceerd op",
Expand Down
4 changes: 2 additions & 2 deletions src/components/scans/ScanMonitorScan.vue
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ export default {
"live": "API",
"report": "Report",
"runtime": "Runtime",
"open_in_api": "Open on internet.nl API",
"open_in_api": "View API results",
"open_report": "Open report",
"open_list": "Open list",
"last_check": "Last status update",
Expand Down Expand Up @@ -319,7 +319,7 @@ export default {
"live": "API",
"report": "Rapport",
"runtime": "Looptijd",
"open_in_api": "Open internet.nl API resultaat",
"open_in_api": "Open API resultaat",
"open_report": "Open rapport",
"open_list": "Bekijk lijst",
"last_check": "Laatste status update",
Expand Down
12 changes: 6 additions & 6 deletions src/components/scans/stop.vue
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,10 @@ export default {
"finished": "finished",
"skipped sending mail: no mail server configured": "skipped sending mail: no mail server configured",
"skipped sending mail: no e-mail addresses associated with account": "skipped sending mail: no e-mail addresses associated with account",
"network_error": "network problem detected, contact internet.nl",
"configuration_error": "configuration error detected, contact internet.nl",
"network_error": "network problem detected, contact the dashboard administrator",
"configuration_error": "configuration error detected, contact the dashboard administrator",
"timeout": "operation timed out, will retry",
"error": "An unknown error occurred, contact internet.nl",
"error": "An unknown error occurred, contact the dashboard administrators",
"cancelled": "Scan was cancelled"
}
},
Expand Down Expand Up @@ -170,10 +170,10 @@ export default {
"finished": "klaar",
"skipped sending mail: no mail server configured": "sturen van mail overgeslagen: geen mailserver ingesteld",
"skipped sending mail: no e-mail addresses associated with account": "sturen van mail overgeslagen: geen mail adres bekend",
"network_error": "netwerkproblemen ontdekt, neem contact op met internet.nl",
"configuration_error": "configuratie onjuist ingesteld, neem contact op met internet.nl",
"network_error": "netwerkproblemen ontdekt, neem contact op met de dashboard beheerders",
"configuration_error": "configuratie onjuist ingesteld, neem contact op met de dashboard beheerders",
"timeout": "wachttijd vertreken, probeert opnieuw",
"error": "Onbekende fout opgetreden, neem contact op met internet.nl",
"error": "Onbekende fout opgetreden, neem contact op met de dashboard beheerders",
"cancelled": "Scan was gestopt"
}
}
Expand Down
3 changes: 3 additions & 0 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,9 @@ const store = new Vuex.Store({
config: {
show: {
signup_form: true,
},
app: {
layout: "internet_nl"
}
}
},
Expand Down

0 comments on commit 025b40e

Please sign in to comment.