5 Commits
0.9.1 ... 0.9.3

Author SHA1 Message Date
Luc Didry
0295ba3666 Use woff2 format for HennyPenny font 2018-03-11 10:14:10 +01:00
Luc Didry
485436aa67 Bump version 2018-03-09 23:45:21 +01:00
Luc Didry
0e0e6da677 Fix langage drop-down 2018-03-09 23:44:12 +01:00
Luc Didry
781e96c073 Allow to use HTML in broadcast message 2018-03-09 23:43:10 +01:00
Luc Didry
fb610e1a80 Remove old targets from Makefile 2018-03-09 23:42:40 +01:00
8 changed files with 35 additions and 28 deletions

View File

@@ -1,5 +1,13 @@
Revision history for Lutim
0.9.3 2018-03-11
- Use woff2 format for HennyPenny font
0.9.2 2018-03-09
- Fix langage drop-down
- Allow to use HTML in broadcast message
- Remove old targets from Makefile
0.9.1 2018-03-09
- Fix default setting bug (db_path)

View File

@@ -31,16 +31,13 @@ test: podcheck test-sqlite test-pg
clean:
rm -rf lutim.db files/
rmassets:
rm -rf themes/default/public/packed/*
dev: rmassets
dev:
$(CARTON) morbo $(LUTIM) --listen http://0.0.0.0:3000 --watch lib/ --watch script/ --watch themes/ --watch lutim.conf
devlog:
multitail log/development.log
prod: rmassets
prod:
$(CARTON) hypnotoad -f $(LUTIM)
prodlog:

View File

@@ -21,8 +21,8 @@ sub _available_langs {
my $c = shift;
state $langs = Mojo::Collection->new(
glob($c->app->home->rel_file('themes/'.$c->config('theme').'/lib/Lutim/I18N/*')),
glob($c->app->home->rel_file('themes/default/lib/Lutim/I18N/*'))
glob($c->app->home->rel_file('themes/'.$c->config('theme').'/lib/Lutim/I18N/*po')),
glob($c->app->home->rel_file('themes/default/lib/Lutim/I18N/*po'))
)->map(
sub {
Mojo::File->new($_)->basename('.po');

View File

@@ -44,7 +44,7 @@ msgstr ""
msgid ": Error while trying to get the counter."
msgstr ""
#: themes/default/templates/partial/navbar.html.ep:75
#: themes/default/templates/partial/navbar.html.ep:76
msgid "About"
msgstr ""
@@ -156,7 +156,7 @@ msgstr ""
msgid "For more details, see the <a href=\"https://framagit.org/luc/lutim\">homepage of the project</a>."
msgstr ""
#: themes/default/templates/partial/navbar.html.ep:78
#: themes/default/templates/partial/navbar.html.ep:79
msgid "Fork me!"
msgstr ""
@@ -200,15 +200,15 @@ msgstr ""
msgid "Image not found."
msgstr ""
#: themes/default/templates/partial/navbar.html.ep:67
#: themes/default/templates/partial/navbar.html.ep:68
msgid "Informations"
msgstr ""
#: themes/default/templates/partial/navbar.html.ep:31
#: themes/default/templates/partial/navbar.html.ep:32
msgid "Install webapp"
msgstr ""
#: themes/default/templates/partial/navbar.html.ep:27
#: themes/default/templates/partial/navbar.html.ep:28
msgid "Instance's statistics"
msgstr ""
@@ -228,7 +228,7 @@ msgstr ""
msgid "Keep EXIF tags"
msgstr ""
#: themes/default/templates/partial/navbar.html.ep:38
#: themes/default/templates/partial/navbar.html.ep:39
msgid "Language"
msgstr ""
@@ -236,7 +236,7 @@ msgstr ""
msgid "Let's go!"
msgstr ""
#: themes/default/templates/partial/navbar.html.ep:72
#: themes/default/templates/partial/navbar.html.ep:73
msgid "License:"
msgstr ""
@@ -260,7 +260,7 @@ msgstr ""
msgid "Markdown syntax"
msgstr ""
#: themes/default/templates/myfiles.html.ep:2 themes/default/templates/partial/navbar.html.ep:24
#: themes/default/templates/myfiles.html.ep:2 themes/default/templates/partial/navbar.html.ep:25
msgid "My images"
msgstr ""
@@ -318,19 +318,19 @@ msgstr ""
msgid "Something went wrong when creating the zip file. Try again later or contact the administrator (%1)."
msgstr ""
#: themes/default/templates/partial/navbar.html.ep:50
#: themes/default/templates/partial/navbar.html.ep:51
msgid "Support the author"
msgstr ""
#: themes/default/templates/partial/navbar.html.ep:58
#: themes/default/templates/partial/navbar.html.ep:59
msgid "Support the author on Liberapay"
msgstr ""
#: themes/default/templates/partial/navbar.html.ep:55
#: themes/default/templates/partial/navbar.html.ep:56
msgid "Support the author on Tipeee"
msgstr ""
#: themes/default/templates/partial/navbar.html.ep:61
#: themes/default/templates/partial/navbar.html.ep:62
msgid "Support the author with bitcoins"
msgstr ""
@@ -401,7 +401,7 @@ msgstr ""
msgid "Toggle fullscreen"
msgstr ""
#: themes/default/templates/partial/navbar.html.ep:14
#: themes/default/templates/partial/navbar.html.ep:15
msgid "Toggle navigation"
msgstr ""

View File

@@ -2,5 +2,6 @@
font-family: 'Henny_Penny';
font-style: normal;
font-weight: 400;
src: local('Henny Penny'), local('HennyPenny-Regular'), url(../font/hennypenny.ttf) format('truetype');
src: local('Henny Penny'), local('HennyPenny-Regular'), url(../font/hennypenny.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

Binary file not shown.

View File

@@ -56,7 +56,7 @@
</div>
% if (defined(config('broadcast_message'))) {
<div class="alert alert-info">
<strong><%= config('broadcast_message') %></strong>
<strong><%== config('broadcast_message') %></strong>
</div>
% }
% if (defined(stash('stop_upload'))) {

View File

@@ -1,11 +1,12 @@
% # vim:set sw=4 ts=4 sts=4 ft=html.epl expandtab:
% my $l = {
% ar => 'العربية',
% de => 'Deutsch',
% en => 'English',
% es => 'Español',
% fr => 'Français',
% oc => 'Occitan',
% ar => 'العربية',
% de => 'Deutsch',
% en => 'English',
% es => 'Español',
% fr => 'Français',
% fr_FR => 'Français (France)',
% oc => 'Occitan',
% };
<nav class="navbar navbar-default">
<div class="container">