-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Add a banner line for latest hints #6143
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
Changes from all commits
2b1ccab
3db5d3f
9615df9
f088775
0ea6e39
4919254
90a0890
4f7b86e
1184582
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# -*- coding: utf-8 -*- | ||
# Generated by Django 1.11.25 on 2019-10-17 15:58 | ||
from __future__ import unicode_literals | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('projects', '0044_auto_20190703_1300'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='project', | ||
name='show_version_warning', | ||
field=models.BooleanField(default=False, help_text='Show a warning banner with a link to the stable version on not stable versions, except for latest.', verbose_name='Show version warning'), | ||
), | ||
] |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -251,7 +251,10 @@ class Project(models.Model): | |
show_version_warning = models.BooleanField( | ||
_('Show version warning'), | ||
default=False, | ||
help_text=_('Show warning banner in non-stable nor latest versions.'), | ||
help_text=_( | ||
'Show a warning banner with a link to the stable version on not' | ||
' stable versions, except for latest.' | ||
Comment on lines
+255
to
+256
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Here also. I'd like to improve this sentence. It's really hard to parse and understand the last part: "the stable version on not stable versions, except for latest.". After reading it three times I think I understand what it means, but it was hard to get it. Maybe splitting it in multiple sentences like:
|
||
), | ||
) | ||
|
||
# Sphinx specific build options. | ||
|
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.
This may still be confusing. I'd like to say something like
but with a clearer English sentence.
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.
Mmm... does the banner links to
v0.x
or tostable
?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.
We only have one stable version, there isn't something like
latest stable
.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.
I realized that and that's why my second question.