Merge branch 'master' into 'master'

Various minor fixes

See merge request phyks/Flatisfy!40
This commit is contained in:
Phyks 2020-01-09 18:58:24 +01:00
commit a82df4da50
4 changed files with 17 additions and 4 deletions

View File

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

View File

@ -38,7 +38,12 @@ DEFAULT_CONFIG = {
"bedrooms": (None, None), # (min, max) "bedrooms": (None, None), # (min, max)
"minimum_nb_photos": None, # min number of photos "minimum_nb_photos": None, # min number of photos
"description_should_contain": [], # list of terms "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_to": {} # Dict mapping names to {"gps": [lat, lng],
# "time": (min, max), # "time": (min, max),
# "mode": Valid mode } # "mode": Valid mode }

View File

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

View File

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