-
-
Notifications
You must be signed in to change notification settings - Fork 777
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
grants admin message && visible toggle (#8496)
* grants admin message * Update views.py * Recreates migration * Updates admin_message alert styles to match twitter verification alert Co-authored-by: Aditya Anand M C <[email protected]> Co-authored-by: Graham Dixon <[email protected]>
- Loading branch information
1 parent
1b5bd00
commit 5a25838
Showing
5 changed files
with
46 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Generated by Django 2.2.4 on 2021-03-16 20:21 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('grants', '0115_auto_20210310_0532'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='grant', | ||
name='admin_message', | ||
field=models.TextField(blank=True, default='', help_text='An admin message that will be shown to visitors of this grant.'), | ||
), | ||
migrations.AddField( | ||
model_name='grant', | ||
name='visible', | ||
field=models.BooleanField(default=True, help_text='Is grant visible on the site'), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters