Attention ! Gitlab fournissant maintenant nativement des certificats Let’s Encrypt aux domaines personnalisés des Gitlab Pages, nous avons coupé notre service qui le faisait automatiquement pour vous.

Il est impératif, pour que votre domaine personnalisé continue à avoir un certificat Let’s Encrypt à jour, d’activer la fonctionnalité native dans les paramètres de votre projet. Cette activation remplacera votre certificat actuel par un nouveau certificat Let’s Encrypt géré par Gitlab.

Voir les détails sur https://docs.framasoft.org/fr/gitlab/gitlab-pages-le.html

Commit c516a4c0 authored by Thierry BUGEAT's avatar Thierry BUGEAT

#9 Back button: Bug after opening first news

parent 637eab2a
......@@ -1835,27 +1835,36 @@
// [>] previous news ?
var _content = (sortedEntries[_previousEntryId]._myFeedInformations.title + ' ' + sortedEntries[_previousEntryId].title + ' ' + sortedEntries[_previousEntryId].contentSnippet).toLowerCase();
while ((sortedEntries[_previousEntryId]._myTimestamp < liveValues['timestamps']['min'])
|| (!params.entries.displaySmallEntries && isSmallEntry(sortedEntries[_previousEntryId]))
|| (_string !== "" && liveValues['entries']['search']['visible'] && (_content.indexOf(_string.toLowerCase()) == -1))
){
_previousEntryId = _previousEntryId + 1;
if (_previousEntryId > liveValues['entries']['id']['max']) { _previousEntryId = _entryId; break; }
_content = (sortedEntries[_previousEntryId]._myFeedInformations.title + ' ' + sortedEntries[_previousEntryId].title + ' ' + sortedEntries[_previousEntryId].contentSnippet).toLowerCase();
if (_previousEntryId > liveValues['entries']['id']['max']) {
_previousEntryId = _entryId;
} else {
var _content = (sortedEntries[_previousEntryId]._myFeedInformations.title + ' ' + sortedEntries[_previousEntryId].title + ' ' + sortedEntries[_previousEntryId].contentSnippet).toLowerCase();
while ((sortedEntries[_previousEntryId]._myTimestamp < liveValues['timestamps']['min'])
|| (!params.entries.displaySmallEntries && isSmallEntry(sortedEntries[_previousEntryId]))
|| (_string !== "" && liveValues['entries']['search']['visible'] && (_content.indexOf(_string.toLowerCase()) == -1))
){
_previousEntryId = _previousEntryId + 1;
if (_previousEntryId > liveValues['entries']['id']['max']) { _previousEntryId = _entryId; break; }
_content = (sortedEntries[_previousEntryId]._myFeedInformations.title + ' ' + sortedEntries[_previousEntryId].title + ' ' + sortedEntries[_previousEntryId].contentSnippet).toLowerCase();
}
}
// [<] next news ?
var _content = (sortedEntries[_nextEntryId]._myFeedInformations.title + ' ' + sortedEntries[_nextEntryId].title + ' ' + sortedEntries[_nextEntryId].contentSnippet).toLowerCase();
while ((sortedEntries[_nextEntryId]._myTimestamp > liveValues['timestamps']['max'])
|| (!params.entries.displaySmallEntries && isSmallEntry(sortedEntries[_nextEntryId]))
|| (_string !== "" && liveValues['entries']['search']['visible'] && (_content.indexOf(_string.toLowerCase()) == -1))
){
_nextEntryId = _nextEntryId - 1;
if (_nextEntryId < 0) {_nextEntryId = _entryId; break; }
_content = (sortedEntries[_nextEntryId]._myFeedInformations.title + ' ' + sortedEntries[_nextEntryId].title + ' ' + sortedEntries[_nextEntryId].contentSnippet).toLowerCase();
if (_nextEntryId < 0) {
_nextEntryId = _entryId;
} else {
var _content = (sortedEntries[_nextEntryId]._myFeedInformations.title + ' ' + sortedEntries[_nextEntryId].title + ' ' + sortedEntries[_nextEntryId].contentSnippet).toLowerCase();
while ((sortedEntries[_nextEntryId]._myTimestamp > liveValues['timestamps']['max'])
|| (!params.entries.displaySmallEntries && isSmallEntry(sortedEntries[_nextEntryId]))
|| (_string !== "" && liveValues['entries']['search']['visible'] && (_content.indexOf(_string.toLowerCase()) == -1))
){
_nextEntryId = _nextEntryId - 1;
if (_nextEntryId < 0) {_nextEntryId = _entryId; break; }
_content = (sortedEntries[_nextEntryId]._myFeedInformations.title + ' ' + sortedEntries[_nextEntryId].title + ' ' + sortedEntries[_nextEntryId].contentSnippet).toLowerCase();
}
}
break;
......
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