Skip to content

Commit 94f5cdb

Browse files
author
René Reitmann
authored
Merge pull request #2842 from dzhw/release
Release v1.0.108-HOTFIX
2 parents 851f9f8 + 7f2e9c9 commit 94f5cdb

8 files changed

Lines changed: 23 additions & 37 deletions

File tree

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Metadatamanagement",
3-
"version": "1.0.108",
3+
"version": "1.0.108-HOTFIX",
44
"description": "Data Search for Higher Education Research and Science Studies",
55
"private": true,
66
"dependencies": {

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
<groupId>eu.dzhw.fdz</groupId>
1313
<artifactId>metadatamanagement</artifactId>
14-
<version>1.0.108</version>
14+
<version>1.0.108-HOTFIX</version>
1515
<packaging>war</packaging>
1616
<name>metadatamanagement</name>
1717

src/main/webapp/scripts/app.constants.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ angular.module('metadatamanagementApp')
66

77
.constant('ENV', 'local')
88

9-
.constant('VERSION', '1.0.108')
9+
.constant('VERSION', '1.0.108-HOTFIX')
1010

1111
.constant('ElasticSearchProperties', {apiVersion:'7.x',logLevel:'error',pageSize:10})
1212

src/main/webapp/scripts/common/paginator/fdzPaginatorTemplate.html.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<span class="fdz-paginator__label">{{$ctrl.options.pageObject.size*($ctrl.options.pageObject.page-1)+1}} - {{$ctrl.calculateCurrentPage()}} {{'global.pagination.of'|translate}} {{$ctrl.options.pageObject.totalHits}}</span>
3535
<md-button
3636
class="fdz-paginator__button"
37-
ng-if="$ctrl.options.pageObject.page <= 1" disabled="true">
37+
ng-if="$ctrl.options.pageObject.page <= 1 || $ctrl.options.pageObject.page - 1 >= ($ctrl.options.pageObject.totalHits / $ctrl.options.pageObject.size)" disabled="true">
3838
<md-icon
3939
class="md-primary"
4040
md-font-set="material-icons">keyboard_arrow_left
@@ -43,7 +43,7 @@
4343
<md-button
4444
class="fdz-paginator__button" rel="prev"
4545
ui-sref="({page: $ctrl.options.pageObject.page - 1})"
46-
ng-if="$ctrl.options.pageObject.page > 1">
46+
ng-if="$ctrl.options.pageObject.page > 1 && $ctrl.options.pageObject.page - 1 < ($ctrl.options.pageObject.totalHits / $ctrl.options.pageObject.size)">
4747
<md-icon
4848
class="md-primary"
4949
md-font-set="material-icons">keyboard_arrow_left

src/main/webapp/scripts/relatedpublicationmanagement/services/relatedPublicationUpload.service.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,6 @@ angular.module('metadatamanagementApp')
7777
if (existingPublications[objects[uploadCount].id]) {
7878
existingPublications[objects[uploadCount].id].presentInExcel =
7979
true;
80-
objects[uploadCount].dataPackageIds =
81-
existingPublications[objects[uploadCount].id].dataPackageIds;
8280
}
8381
objects[uploadCount].$save().then(function() {
8482
JobLoggingService.success();

src/main/webapp/scripts/relatedpublicationmanagement/templates/common-details.html.tmpl

Lines changed: 17 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -26,39 +26,32 @@
2626
<md-list-item ng-if="$ctrl.options.sourceReference">
2727
<h5>{{'related-publication-management.detail.label.sourceReference' | translate }}:</h5>
2828
<span
29-
class="md-secondary" lang="{{$ctrl.options.language}}">{{$ctrl.options.sourceReference}}</span>
29+
class="md-secondary" lang="{{$ctrl.options.language}}" style="word-break: break-word;">{{$ctrl.options.sourceReference}}</span>
3030
</md-list-item>
3131
<md-list-item ng-if="$ctrl.options.doi">
3232
<h5>{{'related-publication-management.detail.label.doi' | translate }}:</h5>
33-
<span
34-
class="md-secondary">
35-
<a
36-
ng-href="https://dx.doi.org/{{$ctrl.options.doi}}"
37-
target="_blank">
33+
<a class="md-secondary"
34+
ng-href="https://dx.doi.org/{{$ctrl.options.doi}}"
35+
target="_blank">
3836
{{$ctrl.options.doi}}
39-
<md-tooltip
40-
md-autohide="true"
41-
md-z-index="bowser.mobile || bowser.tablet ? -100 : 100001">
42-
{{'related-publication-management.detail.doi-tooltip' | translate}}
43-
</md-tooltip>
44-
</a>
45-
</span>
37+
<md-tooltip
38+
md-autohide="true"
39+
md-z-index="bowser.mobile || bowser.tablet ? -100 : 100001">
40+
{{'related-publication-management.detail.doi-tooltip' | translate}}
41+
</md-tooltip>
42+
</a>
4643
</md-list-item>
4744
<md-list-item ng-if="$ctrl.options.sourceLink">
4845
<h5>{{'related-publication-management.detail.label.sourceLink' | translate }}:</h5>
49-
<span
50-
class="md-secondary">
51-
<a
52-
class="fdz-truncate-string"
53-
ng-href="{{$ctrl.options.sourceLink}}" style="display: block;"
46+
<a class="md-secondary fdz-truncate-string"
47+
ng-href="{{$ctrl.options.sourceLink}}"
5448
target="_blank">{{$ctrl.options.sourceLink}}
55-
<md-tooltip
56-
md-autohide="true"
57-
md-z-index="bowser.mobile || bowser.tablet ? -100 : 100001">
49+
<md-tooltip
50+
md-autohide="true"
51+
md-z-index="bowser.mobile || bowser.tablet ? -100 : 100001">
5852
{{'related-publication-management.detail.sourceLink-tooltip' | translate}}
59-
</md-tooltip>
60-
</a>
61-
</span>
53+
</md-tooltip>
54+
</a>
6255
</md-list-item>
6356
<md-list-item ng-if="$ctrl.options.annotations">
6457
<h5>{{'related-publication-management.detail.label.annotations' | translate }}:</h5>

src/main/webapp/scripts/relatedpublicationmanagement/views/relatedPublicationDetail.controller.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,7 @@ angular.module('metadatamanagementApp')
1919
ctrl.relatedPublication = result;
2020
// We need this for the tab creation
2121
ctrl.counts = {};
22-
ctrl.counts.dataSetsCount = 0;
23-
ctrl.counts.variablesCount = 0;
2422
ctrl.counts.dataPackagesCount = 0;
25-
ctrl.counts.instrumentsCount = 0;
26-
ctrl.counts.questionsCount = 0;
27-
ctrl.counts.surveysCount = 0;
2823

2924
PageMetadataService.setPageTitle('related-publication-management.' +
3025
'detail.title', {

0 commit comments

Comments
 (0)