Add option to display URL below title (#365)

* Add feature to display URL below title

* updates pre-merging

* Bookmark URL Tests & solving pending migration

* cleanup after rebase

* add test for updating setting

---------

Co-authored-by: Bahadir Parmaksiz <bahadir.parmaksiz@tmconnected.com>
Co-authored-by: Sascha Ißbrücker <sascha.issbruecker@gmail.com>
This commit is contained in:
bah0
2023-05-18 10:18:15 +02:00
committed by GitHub
parent a94eb5f85a
commit bc374e90a2
9 changed files with 98 additions and 1 deletions

View File

@@ -171,13 +171,14 @@ class UserProfile(models.Model):
default=TAG_SEARCH_STRICT)
enable_sharing = models.BooleanField(default=False, null=False)
enable_favicons = models.BooleanField(default=False, null=False)
display_url = models.BooleanField(default=False, null=False)
class UserProfileForm(forms.ModelForm):
class Meta:
model = UserProfile
fields = ['theme', 'bookmark_date_display', 'bookmark_link_target', 'web_archive_integration', 'tag_search',
'enable_sharing', 'enable_favicons']
'enable_sharing', 'enable_favicons', 'display_url']
@receiver(post_save, sender=get_user_model())