Fix manifest and rename to "External Provider"
Change-Id: I563788d85761ded87fced9e27002354a456b9e65
diff --git a/assets/mainfest.json b/assets/mainfest.json
index f24a032..9470441 100644
--- a/assets/mainfest.json
+++ b/assets/mainfest.json
@@ -1,5 +1,5 @@
{
- "name" : "Externak Sale",
+ "name" : "External Provider",
"desc" : "Buy content from an external provider",
"embed" : [{
"panel" : "match",
@@ -7,7 +7,11 @@
"classes" : ["cart"],
"onClick" : {
"action" : "addWidget",
- "template" : "http://localhost:3003/demo/plugin-client.html"
+ "template" : "http://localhost:3003/demo/plugin-client.html",
+ "permissions": [
+ "scripts",
+ "downloads"
+ ]
}
}]
}
\ No newline at end of file
diff --git a/service_test.go b/service_test.go
index 1a1d468..643ebe3 100644
--- a/service_test.go
+++ b/service_test.go
@@ -45,5 +45,5 @@
assert.Equal(t, http.StatusOK, w.Code)
assert.Contains(t, w.Body.String(), "data-server=\"https://korap.ids-mannheim.de/\"")
- assert.Contains(t, w.Body.String(), "<title>External Sale</title>")
+ assert.Contains(t, w.Body.String(), "<title>External Provider</title>")
}
diff --git a/templates/main.html b/templates/main.html
index 3898767..bec6d1c 100644
--- a/templates/main.html
+++ b/templates/main.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
- <title>External Sale</title>
+ <title>External Provider</title>
<script data-server="{{ .korapServer }}" src="client.js"></script>
<script><!--
"use strict";