-
Notifications
You must be signed in to change notification settings - Fork 162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #2176: L'avertissement de reponse entre-temps est mal affiche #2195
Conversation
… répond à un article
<strong>{% trans "Au moins un nouveau message a été posté</strong> dans la discussion | ||
pendant que vous rédigiez le votre" %}. | ||
{% blocktrans %} | ||
<strong>Au moins un nouveau message a été posté</strong> dans la discussion |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Le saut de ligne est inutile ici
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ben j'ai fait comme :
là :
{% blocktrans %} |
là :
zds-site/templates/mp/post/new.html
Line 37 in 159c3a9
<strong>Au moins un nouveau message a été posté</strong> dans la discussion |
et là :
<strong>Au moins un nouveau message a été posté</strong> dans la discussion |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Je mets ça sur le compte de la convention d'indentation des templates du créateur de ces fichiers. Je ne sais pas dans quelle mesure c'est un héritage de Progdupeupl ou non d'ailleurs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
D'accord :D C'est totalement useless mais pas grave ! Un jour on fera du nettoyage dans les templates !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Le jour où on passera à Jinja2 je suppose :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Django 1.8 ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perso, je trouve que le saut de ligne rend la lecture du template plus simple.
Ça c'est pas prévu (les trois commits qui se sont rajoutés) |
…difie et répond à un article" This reverts commit 355b027.
En première approche, un reset de la branche sur le commit qui va bien, suivi d'un rebase sur Sauf que visiblement tu as une seule branche pour tes 2 devs. Alors il faudra peut-être repartir de Si quelqu'un a une idée plus intelligente... |
tu peux faire un rebase comme ça :
dans l'éditeur de texte qui s'ouvre, tu laisses "pickup" pour le premier et le dernier commit et tu replaces Dans le domaine de la poésie git on appellerait sûrement ça une rime embrassée. |
@Torejy tu t'en sors ? |
Le plus propre/simple serait surement de faire une nouvelle branche/PR:
|
J'ai refait une PR propre avec juste ton commit unique. Je ferme ici. (J'ai utilisé un cherry-pick donc tu restes auteur du commit ^^ ) |
QA: