This commit is contained in:
neodb dev 2023-12-25 09:58:18 -05:00 committed by Henri Dickson
parent 819e8ffda4
commit 8cb7f78c30
3 changed files with 4 additions and 4 deletions

View file

@ -164,4 +164,4 @@ class ListMember(Piece):
abstract = True
def __str__(self):
return f"{self.__class__.__name__}:{self.id}@{self.position}:{self.item}"
return f"{self.__class__.__name__}:{self.id}[{self.parent}]:{self.item}"

View file

@ -170,7 +170,7 @@ class Shelf(List):
)
def __str__(self):
return f"{self.id} [{self.owner} {self.shelf_type} list]"
return f"Shelf:{self.owner.username}:{self.shelf_type}"
class ShelfLogEntry(models.Model):

View file

@ -105,7 +105,7 @@
required=""
id="mastodon_repost_mode_0"
{% if request.user.preference.mastodon_repost_mode == 0 %}checked{% endif %}>
<label for="mastodon_repost_mode_0">使用转播(推荐</label>
<label for="mastodon_repost_mode_0">使用转播(boost</label>
<input type="radio"
name="mastodon_repost_mode"
value="1"
@ -114,7 +114,7 @@
{% if request.user.preference.mastodon_repost_mode == 1 %}checked{% endif %}>
<label for="mastodon_repost_mode_1">
另发新帖文
<em data-tooltip="其他人对新帖的回应、点赞不会被记录,修改标记可能产生重复帖文"><i class="fa fa-question-circle"></i></em>
<em data-tooltip="删改标记可能产生重复帖文,其他人对新帖的回应、点赞不会被记录"><i class="fa fa-question-circle"></i></em>
</label>
</fieldset>
<fieldset>