Bunch of improvement for thumbnails integration:

- add a default thumb size value (125x90px)
  - improve private vertical bar visual, especially with thumbnails
  - translations
  - add a sync thumbs button in tool and empty picwall page
  - fixes WT download mode in JSON config
This commit is contained in:
ArthurHoaro 2018-07-17 13:13:26 +02:00
parent b302b3c584
commit 7b4fea0e39
12 changed files with 178 additions and 112 deletions
tests/Updater

View file

@ -700,7 +700,7 @@ $GLOBALS[\'privateLinkByDefault\'] = true;';
$this->assertEquals(\Shaarli\Thumbnailer::MODE_ALL, $this->conf->get('thumbnails.mode'));
$this->assertEquals(125, $this->conf->get('thumbnails.width'));
$this->assertEquals(90, $this->conf->get('thumbnails.height'));
$this->assertContains('You have enabled thumbnails', $_SESSION['warnings'][0]);
$this->assertContains('You have enabled or changed thumbnails', $_SESSION['warnings'][0]);
}
/**