Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add resolved status in topic list #26

Closed
wants to merge 3 commits into from
Closed

Add resolved status in topic list #26

wants to merge 3 commits into from

Conversation

zhijinwuu
Copy link
Contributor

addresses issue #16
Building on pull request add resolved feature #19, I duplicated the new field for new topics, which is a boolean indicating whether the discussion is resolved or not. This change was in the file src/topics/create.js.

Additionally, I added a class in themes/nodebb-theme-persona/templates/partials/topics_list.tpl to display the discussion's status (resolved or unresolved) to the topic list page. I haven't adjusted the exact position/font of the display, but the general idea of showing the status is as below:
Screen Shot 2023-09-26 at 11 21 12 PM

@zhijinwuu zhijinwuu changed the title Add resolved status in topics list Add resolved status in topic list Sep 27, 2023
@gonzalezjo
Copy link
Contributor

Recall that this code was taken and added to another PR. (TY!)

@gonzalezjo gonzalezjo closed this Oct 12, 2023
@ruiminggu ruiminggu mentioned this pull request Oct 12, 2023
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.

2 participants