Skip to content

Commit

Permalink
Update copyright dates
Browse files Browse the repository at this point in the history
  • Loading branch information
NateWr committed Feb 25, 2020
1 parent fe7e8f5 commit 8084dda
Show file tree
Hide file tree
Showing 76 changed files with 178 additions and 178 deletions.
4 changes: 2 additions & 2 deletions HealthSciencesThemePlugin.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
/**
* @file plugins/themes/healthSciences/HealthSciencesThemePlugin.inc.php
*
* Copyright (c) 2014-2018 Simon Fraser University
* Copyright (c) 2003-2018 John Willinsky
* Copyright (c) 2014-2020 Simon Fraser University
* Copyright (c) 2003-2020 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* @class HealthSciencesThemePlugin
Expand Down
4 changes: 2 additions & 2 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
/**
* @file plugins/themes/healthSciences/index.php
*
* Copyright (c) 2014-2018 Simon Fraser University
* Copyright (c) 2003-2018 John Willinsky
* Copyright (c) 2014-2020 Simon Fraser University
* Copyright (c) 2003-2020 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* @ingroup plugins_themes_healthSciences
Expand Down
50 changes: 25 additions & 25 deletions js/main.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @file /js/main.js
*
* Copyright (c) 2014-2018 Simon Fraser University
* Copyright (c) 2014-2020 Simon Fraser University
* Copyright (c) 2000-2017 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
Expand All @@ -17,21 +17,21 @@
})(jQuery);

(function ($) {

// Show author affiliation under authors list (for large screen only)
var authorString = $('.author-string-href');
$(authorString).click(function(event) {
event.preventDefault();
var elementId = $(this).attr('href').replace('#', '');
$('.article-details-author').each(function () {

// Show only targeted author's affiliation on click
if ($(this).attr('id') === elementId && $(this).hasClass('hideAuthor')) {
$(this).removeClass('hideAuthor');
} else {
$(this).addClass('hideAuthor');
}

// Add specifiers to the clicked author's link
$(authorString).each(function () {
if ($(this).attr('href') === ('#' + elementId) && !$(this).hasClass('active')){
Expand Down Expand Up @@ -73,49 +73,49 @@ $(document).ready(function() {
// change article's blocks logic for small screens

(function () {

var mainArticleContent = $("#mainArticleContent");

if (mainArticleContent.length === 0) return false;

var articleDetailsWrapper = $("#articleDetailsWrapper");
var articleDetails = $("#articleDetails");
var articleDetailsChildren = articleDetails.children();

var articleMainWrapper = $("#articleMainWrapper");
var articleMain = $("#articleMain");
var articleMainChildren = articleMain.children();

var dataForMobilesMark = "data-for-mobiles";

function reorganizeArticleBlocks() {
if (mainArticleContent && !mainArticleContent.hasClass(dataForMobilesMark) && window.innerWidth < 992) {
$("#articleDetails").unwrap();
$("#articleMain").unwrap();

articleDetailsChildren.unwrap();
articleMainChildren.unwrap();

mainArticleContent.children().wrapAll("<div class='col-lg article-blocks-mobile'></div>");

mainArticleContent.addClass(dataForMobilesMark);

} else if (mainArticleContent && mainArticleContent.hasClass(dataForMobilesMark) && window.innerWidth >= 992) {
$('#mainArticleContent > *').children().unwrap();

articleDetailsChildren.wrapAll(articleDetails);
articleMainChildren.wrapAll(articleMain);

$("#articleDetails").wrap(articleDetailsWrapper);
$("#articleMain").wrap(articleMainWrapper);


mainArticleContent.removeClass(dataForMobilesMark);
}
}

reorganizeArticleBlocks();

window.addEventListener("resize", function () {
reorganizeArticleBlocks();
});
Expand All @@ -125,24 +125,24 @@ $(document).ready(function() {

(function () {
var journalDescription = document.getElementById('homepageDescription');

if (!journalDescription) return false;

var moreButton = document.getElementById('homepageDescriptionMore');
var lessButton = document.getElementById('homepageDescriptionLess');
var descriptionButtons = document.getElementById('homepageDescriptionButtons');

if (journalDescription.offsetHeight < journalDescription.scrollHeight) {
moreButton.classList.remove('hidden');
descriptionButtons.classList.remove('hidden');
}

moreButton.onclick = function () {
journalDescription.classList.remove('long-text');
this.classList.add('hidden');
lessButton.classList.remove('hidden');
};

lessButton.onclick = function () {
journalDescription.classList.add('long-text');
this.classList.add('hidden');
Expand Down
4 changes: 2 additions & 2 deletions locale/cs_CZ/locale.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<!--
* locale/cs_CZ/locale.xml
*
* Copyright (c) 2014-2018 Simon Fraser University
* Copyright (c) 2003-2018 John Willinsky
* Copyright (c) 2014-2020 Simon Fraser University
* Copyright (c) 2003-2020 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* Localization strings.
Expand Down
4 changes: 2 additions & 2 deletions locale/da_DK/locale.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<!--
* locale/da_DK/locale.xml
*
* Copyright (c) 2014-2018 Simon Fraser University
* Copyright (c) 2003-2018 John Willinsky
* Copyright (c) 2014-2020 Simon Fraser University
* Copyright (c) 2003-2020 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* Localization strings.
Expand Down
4 changes: 2 additions & 2 deletions locale/en_US/locale.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<!--
* plugins/themes/healthSciences/locale/en_US/locale.xml
*
* Copyright (c) 2014-2018 Simon Fraser University
* Copyright (c) 2003-2018 John Willinsky
* Copyright (c) 2014-2020 Simon Fraser University
* Copyright (c) 2003-2020 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* Localization strings
Expand Down
4 changes: 2 additions & 2 deletions locale/es_ES/locale.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<!--
* locale/es_ES/locale.xml
*
* Copyright (c) 2014-2018 Simon Fraser University
* Copyright (c) 2003-2018 John Willinsky
* Copyright (c) 2014-2020 Simon Fraser University
* Copyright (c) 2003-2020 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* Localization strings
Expand Down
4 changes: 2 additions & 2 deletions locale/fr_CA/locale.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<!--
* plugins/themes/healthSciences/locale/fr_CA/locale.xml
*
* Copyright (c) 2014-2018 Simon Fraser University
* Copyright (c) 2003-2018 John Willinsky
* Copyright (c) 2014-2020 Simon Fraser University
* Copyright (c) 2003-2020 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* Localization strings
Expand Down
4 changes: 2 additions & 2 deletions locale/fr_FR/locale.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<!--
* plugins/themes/healthSciences/locale/fr_CA/locale.xml
*
* Copyright (c) 2014-2018 Simon Fraser University
* Copyright (c) 2003-2018 John Willinsky
* Copyright (c) 2014-2020 Simon Fraser University
* Copyright (c) 2003-2020 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* Localization strings
Expand Down
4 changes: 2 additions & 2 deletions locale/nb_NO/locale.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<!--
* plugins/themes/healthSciences/locale/en_US/locale.xml
*
* Copyright (c) 2014-2018 Simon Fraser University
* Copyright (c) 2003-2018 John Willinsky
* Copyright (c) 2014-2020 Simon Fraser University
* Copyright (c) 2003-2020 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* Localization strings
Expand Down
4 changes: 2 additions & 2 deletions locale/uk_UA/locale.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<!--
* plugins/themes/healthSciences/locale/uk_UA/locale.xml
*
* Copyright (c) 2014-2018 Simon Fraser University
* Copyright (c) 2003-2018 John Willinsky
* Copyright (c) 2014-2020 Simon Fraser University
* Copyright (c) 2003-2020 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* Localization strings
Expand Down
4 changes: 2 additions & 2 deletions styles/index.less
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
* @file styles/index.less
*
* Copyright (c) 2014-2018 Simon Fraser University
* Copyright (c) 2003-2018 John Willinsky
* Copyright (c) 2014-2020 Simon Fraser University
* Copyright (c) 2003-2020 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* @brief importing Health Sciences theme stylesheets
Expand Down
4 changes: 2 additions & 2 deletions styles/pages/page-announcement.less
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
* @file styles/pages/page-announcement.less
*
* Copyright (c) 2014-2018 Simon Fraser University
* Copyright (c) 2003-2018 John Willinsky
* Copyright (c) 2014-2020 Simon Fraser University
* Copyright (c) 2003-2020 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* @brief styles for announcement page
Expand Down
22 changes: 11 additions & 11 deletions styles/pages/page-author-details.less
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
* @file styles/pages/page-author-details.less
*
* Copyright (c) 2014-2018 Simon Fraser University
* Copyright (c) 2003-2018 John Willinsky
* Copyright (c) 2014-2020 Simon Fraser University
* Copyright (c) 2003-2020 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* @brief Styles applying to the page with information regarding chosen author
Expand All @@ -20,7 +20,7 @@
}

.author-details-item{

&:not(:last-child) {
margin-bottom: 50px;
}
Expand All @@ -33,17 +33,17 @@
font-size: 14px;
line-height: 1.5;
font-family: @font-sans;

& a, span {
color: @mid-grey;
}

& a {
flex: 0 0 75%;
width: 75%;
padding-right: 10px;
}

& span {
flex: 0 0 25%;
width: 25%;
Expand All @@ -53,12 +53,12 @@

@media (max-width: 991px) {
.author-details-issue {

& a {
flex: 0 0 100%;
width: 100%;
}

& span {
flex: 0 0 100%;
width: 100%;
Expand All @@ -68,10 +68,10 @@
}

.author-details-article {

& a {
color: @dark-grey;

&:hover {
text-decoration: none;
}
Expand All @@ -80,7 +80,7 @@

.author-details-galleys {
margin-top: 16px;

& a {
margin-bottom: 5px;
}
Expand Down
4 changes: 2 additions & 2 deletions styles/pages/page-common.less
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
* @file styles/pages/page-common.less
*
* Copyright (c) 2014-2018 Simon Fraser University
* Copyright (c) 2003-2018 John Willinsky
* Copyright (c) 2014-2020 Simon Fraser University
* Copyright (c) 2003-2020 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* @brief general page layout
Expand Down
4 changes: 2 additions & 2 deletions styles/pages/page-contact.less
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
* @file styles/pages/page-contact.less
*
* Copyright (c) 2014-2018 Simon Fraser University
* Copyright (c) 2003-2018 John Willinsky
* Copyright (c) 2014-2020 Simon Fraser University
* Copyright (c) 2003-2020 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* @brief contact page
Expand Down
4 changes: 2 additions & 2 deletions styles/pages/page-home.less
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
* @file styles/pages/page-home.less
*
* Copyright (c) 2014-2018 Simon Fraser University
* Copyright (c) 2003-2018 John Willinsky
* Copyright (c) 2014-2020 Simon Fraser University
* Copyright (c) 2003-2020 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* @brief journal index page
Expand Down
4 changes: 2 additions & 2 deletions styles/pages/page-issue.less
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
* @file styles/pages/page-issue.less
*
* Copyright (c) 2014-2018 Simon Fraser University
* Copyright (c) 2003-2018 John Willinsky
* Copyright (c) 2014-2020 Simon Fraser University
* Copyright (c) 2003-2020 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* @brief issue page, excluding table of content
Expand Down
4 changes: 2 additions & 2 deletions styles/pages/page-search.less
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
* @file styles/pages/page-search.less
*
* Copyright (c) 2014-2018 Simon Fraser University
* Copyright (c) 2003-2018 John Willinsky
* Copyright (c) 2014-2020 Simon Fraser University
* Copyright (c) 2003-2020 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* @brief search page
Expand Down
Loading

0 comments on commit 8084dda

Please sign in to comment.