Commit ae606a77 authored by Axel Dürkop's avatar Axel Dürkop
Browse files

Add updates

parent 88533628
......@@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<meta http-equiv="Content-Security-Policy" content="default-src 'self' data: zocurelia.com *.now.sh hypothes.is api.zotero.org; script-src 'unsafe-inline' 'unsafe-eval' zocurelia.com cdnjs.cloudflare.com *.jquery.com stackpath.bootstrapcdn.com localhost:8080 *.now.sh hypothes.is api.zotero.org; style-src 'unsafe-inline' zocurelia.com cdnjs.cloudflare.com *.jquery.com stackpath.bootstrapcdn.com localhost:8080 *.now.sh hypothes.is api.zotero.org; img-src data: zocurelia.com localhost:8080 *.now.sh hypothes.is api.zotero.org; font-src data: zocurelia.com cdnjs.cloudflare.com *.now.sh hypothes.is api.zotero.org; connect-src *">
<meta http-equiv="Content-Security-Policy" content="default-src 'self' data: zocurelia.com hypothes.is api.zotero.org; script-src 'unsafe-inline' 'unsafe-eval' zocurelia.com cdnjs.cloudflare.com *.jquery.com stackpath.bootstrapcdn.com localhost:8080 hypothes.is api.zotero.org; style-src 'unsafe-inline' zocurelia.com cdnjs.cloudflare.com *.jquery.com stackpath.bootstrapcdn.com localhost:8080 hypothes.is api.zotero.org; img-src data: xldrkp.norma.uberspace.de zocurelia.com localhost:8080 hypothes.is api.zotero.org; font-src data: zocurelia.com cdnjs.cloudflare.com hypothes.is api.zotero.org; connect-src *">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title>Zocurelia</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" type="text/css">
......
......@@ -225,8 +225,12 @@ svg.motivation-logo {
padding: 5px 0 5px 0;
}
.hypothesis-group .hypo-icon {
width: 12px;
.annotation-button .hypo-icon {
width: 20px;
display: inline-block;
margin: 12px 10px 0 0;
padding: 5px 0 0 5px;
float: left;
}
.annotation-button {
......@@ -245,6 +249,11 @@ svg.motivation-logo {
.annotation-button .count {
float: right;
text-decoration: underline;
}
.annotation-button .count.badge {
text-decoration: none;
}
.annotation-button .count.has-annos {
......
......@@ -15,6 +15,7 @@
<HypothesisGroup :hypothesis_group="hypothesis_group" :url="item.url" />
<RSS :url="item.url" />
<DashboardLink :url="item.url" />
<div style="clear: both;"></div>
</div>
</template>
......@@ -22,6 +23,7 @@
<script>
import HypothesisClient from "hypothesis-api-client";
import HypothesisGroup from "@/components/HypothesisGroup";
import DashboardLink from "@/components/HypothesisDocInDashboard";
import RSS from "@/components/RSS";
import { mapGetters } from "vuex";
......@@ -30,7 +32,8 @@ export default {
props: ["item", "url"],
components: {
HypothesisGroup,
RSS
RSS,
DashboardLink
},
data() {
return {
......
<template>
<div>
<a :title="$t('annotations.hypothesis.dashboardlink')" target="_blank" :href="('https://hypothes.is/search?q=url%3A' + url)">
<img class="hypo-icon" src="@/assets/img/hypothesis-icon.png" alt="Icon Hypothesis" />
</a>
</div>
</template>
<script>
export default {
name: "DashboardLink",
props: ["url"]
}
</script>
<template>
<span class="hypothesis-group">
<img class="hypo-icon" src="@/assets/img/hypothesis-icon.png" alt="Icon Hypothesis">
{{(hypothesis_group != '' ? hypothesis_group_name : 'Public')}}
</span>
</template>
......
......@@ -49,7 +49,10 @@
},
"annotations": {
"count0": "Was denkst du?",
"countX": "Frag und diskutiere!"
"countX": "Frag und diskutiere!",
"hypothesis": {
"dashboardlink": "Hypothesis-Dashboard mit jüngsten Annotationen öffnen"
}
},
"help": {
"headline": "Hilfe",
......
......@@ -49,7 +49,10 @@
},
"annotations": {
"count0": "What do you think?",
"countX": "Ask and discuss!"
"countX": "Ask and discuss!",
"hypothesis": {
"dashboardlink": "Open Hypothesis dashboard for latest annotations."
}
},
"help": {
"headline": "Help",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment