Skip to content
Snippets Groups Projects
Commit b6436068 authored by Ernesto Rico Schmidt's avatar Ernesto Rico Schmidt
Browse files

Remove help_text from Program model

parent 2901bd25
No related branches found
No related tags found
No related merge requests found
......@@ -130,23 +130,20 @@ class Host(models.Model):
name = models.CharField(_("Name"), max_length=128)
is_active = models.BooleanField(_("Is active?"), default=True)
email = models.EmailField(_("E-Mail"), blank=True)
website = models.URLField(_("Website"), blank=True, help_text=_("URL to your personal website."))
biography = models.TextField(_("Biography"), blank=True, null=True,
help_text=_("Describe yourself and your fields of interest in a few sentences."))
googleplus_url = models.URLField(_("Google+ URL"), blank=True, help_text=_("URL to your Google+ profile."))
facebook_url = models.URLField(_("Facebook URL"), blank=True, help_text=_("URL to your Facebook profile."))
twitter_url = models.URLField(_("Twitter URL"), blank=True, help_text=_("URL to your Twitter profile."))
linkedin_url = models.URLField(_("LinkedIn URL"), blank=True, help_text=_("URL to your LinkedIn profile."))
youtube_url = models.URLField(_("Youtube URL"), blank=True, help_text=_("URL to your Youtube channel."))
dorftv_url = models.URLField(_("DorfTV URL"), blank=True, help_text=_("URL to your dorfTV channel."))
cba_url = models.URLField(_("CBA URL"), blank=True, help_text=_("URL to your CBA profile."))
website = models.URLField(_("Website"), blank=True)
biography = models.TextField(_("Biography"), blank=True, null=True)
googleplus_url = models.URLField(_("Google+ URL"), blank=True)
facebook_url = models.URLField(_("Facebook URL"), blank=True)
twitter_url = models.URLField(_("Twitter URL"), blank=True)
linkedin_url = models.URLField(_("LinkedIn URL"), blank=True)
youtube_url = models.URLField(_("Youtube URL"), blank=True)
dorftv_url = models.URLField(_("DorfTV URL"), blank=True)
cba_url = models.URLField(_("CBA URL"), blank=True)
ppoi = PPOIField('Image PPOI')
height = models.PositiveIntegerField('Image Height', blank=True, null=True, editable=False)
width = models.PositiveIntegerField('Image Width', blank=True, null=True, editable=False)
image = VersatileImageField(_("Profile picture"), blank=True, null=True, upload_to='host_images', width_field='width',
height_field='height', ppoi_field='ppoi', help_text=_(
"Upload a picture of yourself. Images are automatically cropped around the 'Primary Point of Interest'. Click in"
" the image to change it and press Save."))
height_field='height', ppoi_field='ppoi')
class Meta:
ordering = ('name',)
......@@ -196,35 +193,24 @@ class Show(models.Model):
verbose_name=_("Funding Category"))
topic = models.ManyToManyField(Topic, blank=True, related_name='shows', verbose_name=_("Topic"))
musicfocus = models.ManyToManyField(MusicFocus, blank=True, related_name='shows', verbose_name=_("Music focus"))
name = models.CharField(_("Name"), max_length=255, help_text=_("The show's name. Avoid a subtitle."))
slug = models.CharField(_("Slug"), max_length=255, unique=True, help_text=_("A simple to read URL for your show"))
name = models.CharField(_("Name"), max_length=255)
slug = models.CharField(_("Slug"), max_length=255, unique=True)
ppoi = PPOIField('Image PPOI')
height = models.PositiveIntegerField('Image Height', blank=True, null=True, editable=False)
width = models.PositiveIntegerField('Image Width', blank=True, null=True, editable=False)
image = VersatileImageField(_("Image"), blank=True, null=True, upload_to='show_images', width_field='width',
height_field='height', ppoi_field='ppoi', help_text=_(
"Upload an image to your show. Images are automatically cropped around the 'Primary Point of Interest'. Click in"
" the image to change it and press Save."))
logo = models.ImageField(_("Logo"), blank=True, null=True, upload_to='show_images',
help_text=_("Upload a logo of your show."))
short_description = models.TextField(_("Short description"), help_text=_(
"Describe your show for your listeners in some sentences. Avoid technical data like airing times and contact"
" information. They will be added automatically."))
description = models.TextField(_("Description"), blank=True, null=True,
help_text=_("Describe your show in detail."))
email = models.EmailField(_("E-Mail"), blank=True, null=True, help_text=_("The main contact email address for your show."))
website = models.URLField(_("Website"), blank=True, null=True,
help_text=_("Is there a website to your show? Type in its URL."))
cba_series_id = models.IntegerField(_("CBA Series ID"), blank=True, null=True, help_text=_(
"Link your show to a CBA series by giving its ID. This will enable CBA upload and will automatically link your show to"
" your CBA archive. Find out your show's ID under https://cba.fro.at/series"))
default_playlist_id = models.IntegerField(_("Default Playlist ID"), blank=True, null=True, help_text=_(
"If a timeslot of your show is empty, this playlist will be aired as a backup."))
height_field='height', ppoi_field='ppoi')
logo = models.ImageField(_("Logo"), blank=True, null=True, upload_to='show_images')
short_description = models.TextField(_("Short description"))
description = models.TextField(_("Description"), blank=True, null=True)
email = models.EmailField(_("E-Mail"), blank=True, null=True)
website = models.URLField(_("Website"), blank=True, null=True)
cba_series_id = models.IntegerField(_("CBA Series ID"), blank=True, null=True)
default_playlist_id = models.IntegerField(_("Default Playlist ID"), blank=True, null=True)
created = models.DateTimeField(auto_now_add=True, editable=False)
last_updated = models.DateTimeField(auto_now=True, editable=False)
is_active = models.BooleanField(_("Is active?"), default=True)
is_public = models.BooleanField(_("Is Public?"), default=False, help_text=_(
"Files and Playlists of Public Shows can only be changed by owners but may be used by everyone."))
is_public = models.BooleanField(_("Is Public?"), default=False)
class Meta:
ordering = ('slug',)
......@@ -1085,28 +1071,19 @@ class Note(models.Model):
(2, _("Repetition")),
)
timeslot = models.OneToOneField(TimeSlot, on_delete=models.CASCADE, verbose_name=_("Time slot"), unique=True)
title = models.CharField(_("Title"), max_length=128, help_text=_(
"Give your note a good headline. What will your upcoming show be about? Try to arouse interest to listen to it!<br>"
"Avoid technical data like the show's name, its airing times or its episode number. These data are added"
" automatically."))
slug = models.SlugField(_("Slug"), max_length=32, unique=True, help_text=_("A simple to read URL for your show."))
summary = models.TextField(_("Summary"), blank=True, help_text=_(
"Describe your upcoming show in some sentences. Avoid technical data like airing times and contact information. They"
" will be added automatically."))
content = models.TextField(_("Content"), help_text=_("Describe your upcoming show in detail."))
title = models.CharField(_("Title"), max_length=128)
slug = models.SlugField(_("Slug"), max_length=32, unique=True)
summary = models.TextField(_("Summary"), blank=True)
content = models.TextField(_("Content"))
ppoi = PPOIField('Image PPOI')
height = models.PositiveIntegerField('Image Height', blank=True, null=True, editable=False)
width = models.PositiveIntegerField('Image Width', blank=True, null=True, editable=False)
image = VersatileImageField(_("Featured image"), blank=True, null=True, upload_to='note_images', width_field='width',
height_field='height', ppoi_field='ppoi', help_text=_(
"Upload an image to your note. Images are automatically cropped around the 'Primary Point of Interest'. Click in"
" the image to change it and press Save."))
height_field='height', ppoi_field='ppoi')
status = models.IntegerField(_("Status"), choices=STATUS_CHOICES, default=1)
start = models.DateTimeField(editable=False)
show = models.ForeignKey(Show, on_delete=models.CASCADE, related_name='notes', editable=True)
cba_id = models.IntegerField(_("CBA ID"), blank=True, null=True, help_text=_(
"Link the note to a certain CBA post by giving its ID. (E.g. if your post's CBA URL is https://cba.fro.at/1234, then"
" your CBA ID is 1234)"))
cba_id = models.IntegerField(_("CBA ID"), blank=True, null=True)
audio_url = models.TextField(_("Direct URL to a linked audio file"), blank=True, editable=False)
created = models.DateTimeField(auto_now_add=True, editable=False)
last_updated = models.DateTimeField(auto_now=True, editable=False)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment