dracidoupe / graveyard

Open Source reimplementation of https://www.dracidoupe.cz/
https://nove.dracidoupe.cz/
MIT License
6 stars 4 forks source link

Display Phorum #120

Closed Almad closed 7 months ago

Almad commented 3 years ago
jimmeak commented 3 years ago

What would be the best way how to delete comments? Make in view.py new delete_phorum_comment action or somehow manage that in action through some optional delete_id that would be default null?

Almad commented 3 years ago

Comment.objects.delete(pk=id, user_id=request.user.pk)? :)

Almad commented 3 years ago

Django docs

jimmeak commented 3 years ago

I believe you did not get the point. The point is where should the link reference to. Or you can do the same as in javascript <a .... action="Comment.objects....."? Cause I don't see anything like that in the docs.

Almad commented 3 years ago

I'm not sure what you're asking about—let's discuss on the call in the evening

jimmeak commented 3 years ago

New problem - icons looks bad when "Smazat" is present. It needs fix (I am adding this into the list of this ticket)

@Wynnka Do you think you could handle this? It is only find identification for stars and set corresponding css attributes.

image

jimmeak commented 7 months ago

I am clonsing this issue, since it has been already moved to Done in 2021