Сравнить коммиты

...

4 Коммитов

Автор SHA1 Сообщение Дата
Phyks a82df4da50 Merge branch 'master' into 'master'
Various minor fixes

See merge request phyks/Flatisfy!40
2020-01-09 18:58:24 +01:00
Nicolas Frandeboeuf 0747c46400 Print URL in console when launching webserver 2020-01-08 19:25:07 +01:00
Nicolas Frandeboeuf 5b15ce6918 Add keywords to ignore in description to avoid useless ads 2020-01-08 19:25:07 +01:00
Nicolas Frandeboeuf a150312daa Fix some typos 2020-01-08 19:25:07 +01:00
4 изменённых файлов: 17 добавлений и 4 удалений

Просмотреть файл

@ -252,4 +252,5 @@ def serve(config):
# standard logging
server = web_app.QuietWSGIRefServer
app.run(host=config["host"], port=config["port"], server=server)
print("Launching web viewer running on http://%s:%s" % (config["host"], config["port"]))
app.run(host=config["host"], port=config["port"], server=server)

Просмотреть файл

@ -38,7 +38,12 @@ DEFAULT_CONFIG = {
"bedrooms": (None, None), # (min, max)
"minimum_nb_photos": None, # min number of photos
"description_should_contain": [], # list of terms
"description_should_not_contain": [], # list of terms
"description_should_not_contain": [ # list of terms
"vendu",
"Vendu",
"VENDU",
"recherche"
],
"time_to": {} # Dict mapping names to {"gps": [lat, lng],
# "time": (min, max),
# "mode": Valid mode }

Просмотреть файл

@ -6,7 +6,7 @@ export default {
'More_about': 'Plus sur',
'Remove': 'Enlever',
'Restore': 'Remettre',
'Original_post': 'Annonce originale | Annonces originales',
'Original_post': 'Annonce originale | Annonces originales',
'Original_post_for': 'Annonce originale pour',
'Follow': 'Suivre',
'Unfollow': 'Arrêter de suivre',

Просмотреть файл

@ -17,7 +17,8 @@
<template v-if="Object.keys(postalCodesFlatsBuckets).length > 0">
<template v-for="(postal_code_data, postal_code) in postalCodesFlatsBuckets">
<h3>{{ postal_code_data.name || $t('common.Unknown') }}
<h3>
{{ postal_code_data.name || $t('common.Unknown') }}
<span v-if="postal_code !== 'undefined'">
({{ postal_code }})
</span>
@ -100,6 +101,12 @@ h2 {
justify-content: space-between;
}
table {
margin-left: 0;
margin-right: 0;
width: 100%;
}
.show-expired-flats-label {
font-weight: initial;
font-size: initial;