Skip to content

Commit 63331fd

Browse files
committed
fix: Add the same cozy-* attributes as the targets/browser
Because Harvest is based on `cozySubdomainType` and we didn't have it in this template, it didn't work in the intents. So I added the same attributes as the browser ones.
1 parent 0bc7579 commit 63331fd

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

src/targets/intents/index.ejs

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,11 @@
1515
<body>
1616
<div
1717
role="application"
18-
data-cozy="{{.CozyData}}"
19-
data-cozy-token="{{.Token}}"
20-
data-cozy-domain="{{.Domain}}"
21-
data-cozy-locale="{{.Locale}}"
22-
data-cozy-app-editor="{{.AppEditor}}"
23-
data-cozy-app-name="{{.AppName}}"
24-
data-cozy-app-name-prefix="{{.AppNamePrefix}}"
25-
data-cozy-app-slug="{{.AppSlug}}"
26-
data-cozy-icon-path="{{.IconPath}}"
27-
>
18+
data-cozy="{{.CozyData}}" data-cozy-token="{{.Token}}" data-cozy-domain="{{.Domain}}"
19+
data-cozy-locale="{{.Locale}}" data-cozy-app-editor="{{.AppEditor}}" data-cozy-app-name="{{.AppName}}"
20+
data-cozy-app-name-prefix="{{.AppNamePrefix}}" data-cozy-app-slug="{{.AppSlug}}" data-cozy-tracking="{{.Tracking}}"
21+
data-cozy-icon-path="{{.IconPath}}" data-cozy-subdomain-type="{{.SubDomain}}"
22+
data-cozy-default-wallpaper="{{.DefaultWallpaper}}" data-cozy-flags="{{.Flags}}">
2823
<% _.forEach(htmlWebpackPlugin.files.js, function(file) { %>
2924
<script src="<%- file %>"></script>
3025
<% }); %>

0 commit comments

Comments
 (0)