Skip to content

Commit

Permalink
Merge branch 'release/v1.6.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
appsol committed Oct 6, 2022
2 parents a9488fb + c7a1acd commit c8c2ea2
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 7 deletions.
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<title></title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" />
<meta name="robots" />

<link rel="apple-touch-icon" sizes="57x57" href="/assets/images/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="/assets/images/apple-icon-60x60.png">
Expand All @@ -22,7 +23,6 @@
<link rel="manifest" href="/assets/images/manifest.json">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="/assets/images/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff">

<meta property="og:image" content="/assets/images/govuk-opengraph-image.png">
</head>
Expand Down
5 changes: 4 additions & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@ export default {
computed: {
headAttributes() {
return {
"meta[name=theme-color]": { content: this.themeColor }
"meta[name=theme-color]": {
content: this.themeColor
},
"meta[name=robots]": { content: "noindex" }
};
},
htmlAttributes() {
Expand Down
1 change: 1 addition & 0 deletions src/views/organisations/forms/OrganisationForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
/>

<ck-text-input
v-if="auth.isGlobalAdmin"
:value="slug"
@input="onInput('slug', $event)"
id="slug"
Expand Down
1 change: 1 addition & 0 deletions src/views/services/Import.vue
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ export default {
fields: {
index: "Index",
id: "ID",
organisation_id: "Organisation ID",
name: "Name",
type: "Type",
status: "Status",
Expand Down
10 changes: 5 additions & 5 deletions src/views/services/Show.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@
<router-view :service="service" />
</gov-tabs>

<gov-body
>Please be certain of the action before deleting a
{{ service.type }}</gov-body
>

<template v-if="auth.isGlobalAdmin">
<gov-body
>Please be certain of the action before deleting a
{{ service.type }}</gov-body
>

<gov-section-break size="l" />

<ck-delete-button
Expand Down
11 changes: 11 additions & 0 deletions src/views/update-requests/show/OrganisationEventDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@
</gov-table-cell>
<gov-table-cell>
<img
v-if="event.id"
:src="
apiUrl(
`/organisation-events/${event.id}/image.png?update_request_id=${updateRequestId}`
Expand All @@ -282,6 +283,16 @@
alt="Event image"
class="ck-logo"
/>
<img
v-else
:src="
apiUrl(
`/organisation-events/new/image.png?update_request_id=${updateRequestId}`
)
"
alt="Event image"
class="ck-logo"
/>
</gov-table-cell>
</gov-table-row>
</template>
Expand Down
12 changes: 12 additions & 0 deletions src/views/update-requests/show/ServiceDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,7 @@
</gov-table-cell>
<gov-table-cell>
<img
v-if="service.id"
:src="
logoDataUri ||
apiUrl(
Expand All @@ -454,6 +455,17 @@
alt="Service logo"
class="ck-logo"
/>
<img
v-else
:src="
logoDataUri ||
apiUrl(
`/services/new/logo.png?update_request_id=${updateRequestId}`
)
"
alt="Service logo"
class="ck-logo"
/>
</gov-table-cell>
</gov-table-row>

Expand Down

0 comments on commit c8c2ea2

Please sign in to comment.