Merge pull request 'Add some tooltips to help the new admin' (#235) from h3ndrik/pyfedi:tooltips into main

Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/235
This commit is contained in:
rimu 2024-06-27 14:35:57 +00:00
commit bbf1b98cc8
3 changed files with 13 additions and 13 deletions

View file

@ -104,8 +104,8 @@ class EditCommunityForm(FlaskForm):
class EditTopicForm(FlaskForm):
name = StringField(_l('Name'), validators=[DataRequired()])
machine_name = StringField(_l('Slug'), validators=[DataRequired()])
name = StringField(_l('Name'), validators=[DataRequired()], render_kw={'title': _l('Human readable name for the topic.')})
machine_name = StringField(_l('Slug'), validators=[DataRequired()], render_kw={'title': _l('A short and unique identifier that becomes part of the URL.')})
parent_id = SelectField(_l('Parent topic'), coerce=int, validators=[Optional()], render_kw={'class': 'form-select'})
submit = SubmitField(_l('Save'))

View file

@ -19,10 +19,10 @@
<th>Title</th>
<th>Topic</th>
<th>#&nbsp;Posts</th>
<th>Home</th>
<th>Popular</th>
<th>All</th>
<th>Warning</th>
<th title="{{ _('Posts show on home page.') }}">Home</th>
<th title="{{ _('Posts can be popular.') }}">Popular</th>
<th title="{{ _('Posts show in the All feed.') }}">All</th>
<th title="{{ _('Content warning, NSFW or NSFL set for community.') }}">Warning</th>
<th>Actions</th>
</tr>
{% for community in communities.items %}

View file

@ -19,15 +19,15 @@
</form>
<table class="table table-striped mt-1">
<tr>
<th>Name</th>
<th title="{{ _('Display name.') }}">Name</th>
<th>Local/Remote</th>
<th>Seen</th>
<th>Attitude</th>
<th>Rep</th>
<th title="{{ _('Last seen.') }}">Seen</th>
<th title="{{ _('Attitude: Percentage of up votes vs. down votes the account made.') }}">Attitude</th>
<th title="{{ _('Reputation: The Karma of the account. Total up votes minus down votes they got.') }}">Rep</th>
<th>Banned</th>
<th>Reports</th>
<th>IP</th>
<th>Source</th>
<th title="{{ _('How often a user has been reported.') }}">Reports</th>
<th title="{{ _('IP address of last interaction.') }}">IP</th>
<th title="{{ _('Which website linked to PieFed when the user initially registered.') }}">Source</th>
<th>Actions</th>
</tr>
{% for user in users.items %}