Skip to content

Commit 1184582

Browse files
address review
1 parent 4f7b86e commit 1184582

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

readthedocs/projects/migrations/0024_add-show-version-warning.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class Migration(migrations.Migration):
1515
migrations.AddField(
1616
model_name='project',
1717
name='show_version_warning',
18-
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'),
18+
field=models.BooleanField(default=False, help_text='Show warning banner in non-stable nor latest versions.', verbose_name='Show version warning'),
1919
),
2020
migrations.AlterField(
2121
model_name='domain',

readthedocs/projects/migrations/0045_auto_20191017_0241.py renamed to readthedocs/projects/migrations/0045_update-show-version-warning-help-text.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# Generated by Django 1.11.25 on 2019-10-17 02:41
2+
# Generated by Django 1.11.25 on 2019-10-17 15:58
33
from __future__ import unicode_literals
44

55
from django.db import migrations, models

readthedocs/projects/models.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -251,8 +251,10 @@ class Project(models.Model):
251251
show_version_warning = models.BooleanField(
252252
_('Show version warning'),
253253
default=False,
254-
help_text=_('Show a warning banner with a link to the stable version on not'
255-
' stable versions, except for latest.'),
254+
help_text=_(
255+
'Show a warning banner with a link to the stable version on not'
256+
' stable versions, except for latest.'
257+
),
256258
)
257259

258260
# Sphinx specific build options.

0 commit comments

Comments
 (0)