Skip to content

Conversation

@Nehemiah60
Copy link
Contributor

Closes #1448

Description

Creates an issues tab to the user profile.

class="responsive-img"
src={{ profile.profile_image_url }}
/>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unexpected trailing spaces found.

</div>
</div>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unexpected trailing spaces found.


<!-- Prevent users from following themselves. -->

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unexpected trailing spaces found.



{% endblock content %}
{% endblock content %}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected a newline at the end of the file.



{% endblock content %}
{% endblock content %}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unexpected additional newlines at the end of the file.

return TemplateResponse(
request,
"user_civis.html",
{"profile": profile, "followers": followers, "user": user, "civis": civis},

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line too long (87 > 79 characters)

civis = user.civis.all()
followers = profile.followers.all()

return TemplateResponse

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove the code after this "return".

@qlty-cloud-legacy
Copy link

Code Climate has analyzed commit c70a439 and detected 0 issues on this pull request.

View more on Code Climate.

Copy link
Contributor

@brylie brylie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work! :-)

@brylie brylie merged commit 1c43f51 into CiviWiki:develop Jan 29, 2023
@brylie
Copy link
Contributor

brylie commented Jan 29, 2023

@all-contributors please add @Nehemiah60 for code

@allcontributors
Copy link
Contributor

@brylie

I've put up a pull request to add @Nehemiah60! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add "Issues" tab to the user profile view

2 participants