Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • subugoe/ahiqar/website
1 result
Show changes
Commits on Source (8)
......@@ -2,3 +2,5 @@ node_modules
.vscode/settings.json
.DS_Store
.env.local
/dist
......@@ -2,6 +2,24 @@
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
## [1.3.0](https://gitlab.gwdg.de/subugoe/ahiqar/website/compare/v1.2.0...v1.3.0) (2021-08-03)
### Features
* edit urls to navigate to respected page ([21442ef](https://gitlab.gwdg.de/subugoe/ahiqar/website/-/commit/21442ef2543f16932b3169c357f4d57ea3182974))
### Bug Fixes
* linking back to the url from where we came from ([eada1d4](https://gitlab.gwdg.de/subugoe/ahiqar/website/-/commit/eada1d4606d2ab0bba2748d82fc92b6c9fb261f0))
### Refactoring
* fixing the build ([2706fae](https://gitlab.gwdg.de/subugoe/ahiqar/website/-/commit/2706fae57a34fdaa115911bed6291565eff893c3))
* remove search form in top bar ([155ba35](https://gitlab.gwdg.de/subugoe/ahiqar/website/-/commit/155ba3568c756055906c0a4f43a3dff2f553f5c0)), closes [#88](https://gitlab.gwdg.de/subugoe/ahiqar/website/-/issues/88)
## [1.2.0](https://gitlab.gwdg.de/subugoe/ahiqar/website/compare/v1.1.0...v1.2.0) (2021-07-29)
......
{
"name": "ahiqar-website",
"version": "1.2.0",
"version": "1.3.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
......
{
"name": "ahiqar-website",
"version": "1.2.0",
"version": "1.3.0",
"description": "",
"main": "",
"authors": {
......
......@@ -53,7 +53,7 @@
<v-list-item
v-for="(item, index) in editions"
:key="index"
:href="item.to"
:href="item.to + path"
>
<v-list-item-title>{{ item.title }}</v-list-item-title>
</v-list-item>
......@@ -61,23 +61,14 @@
</v-menu>
<v-btn
depressed
class="mr-1"
color="primary"
to="/project.html"
>Project</v-btn>
<v-spacer></v-spacer>
<v-text-field
label="Search"
dense
single-line
background-color="white"
rounded
hide-details
width="200px"
class="pr-2"
></v-text-field>
<v-btn
depressed
color="primary"
to="/search.html"
>Search</v-btn>
</v-row>
</v-col>
......@@ -99,6 +90,15 @@ export default {
{ title: 'Edition guidelines', to: '/editionguidelines.html' },
{ title: 'Related Literature', to: '/relatedliterature.html' },
],
origin:'',
}),
mounted(){
this.origin = window?.location?.origin;
},
computed:{
path(){
return this.origin + this.$route.path;
}
},
}
</script>
......@@ -59,7 +59,7 @@ export default {
} else if (item.lang === 'syc') {
language = 'syriac'
}
return `${this.viewerBaseUrl}/${language}/#/?itemurl=${item.item}&source=external&searchTerm=${item.searchTerm}`;
return `${this.viewerBaseUrl}/${language}/#/?itemurl=${item.item}&source=external&searchTerm=${item.searchTerm}&redirectUrl=${window.location.href.replace(/\?(.*)/g,'')}`;
},
},
watch: {
......
import {baseUrlViewer} from "./constants";
export default [
{ title: 'Syriac Texts', to: baseUrlViewer + '/syriac/?source=external' },
{ title: 'Arabic and Kashuni Texts', to: baseUrlViewer + '/arabic-karshuni/?source=external' },
{ title: 'Syriac Texts', to: baseUrlViewer + '/syriac/#/?source=external&redirectUrl=' },
{ title: 'Arabic and Kashuni Texts', to: baseUrlViewer + '/arabic-karshuni/#/?source=external&redirectUrl=' },
];