mirror of
https://github.com/sissbruecker/linkding.git
synced 2025-09-21 16:39:34 +02:00
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:
@@ -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())
|
||||
|
Reference in New Issue
Block a user