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

Промяна на default visibility-то за отговорите по заявленията #9

Closed
antitoxic opened this issue Nov 20, 2013 · 3 comments
Assignees

Comments

@antitoxic
Copy link
Member

Трябва ни: Като се получи отговор по дадено заявление, първоначално той да е видим само за човека който създал заявлението и администраторите на сайта.

Доколкото разбирам от главния разработчик на проекта във версия 0.14 има такава опция - prominence of individual responses and outgoing messages

След като се смени това трябва да направим промяна в template-ите някъде, за да сложим съобщение за останалите хора ползващи сайта от типа: "В момента отговора по това заявление не е видим, понеже не е нужно да мине проверка на администратор"`

Цитирам Louis, главния разработчик на проекта в MySociety:

It did occur to me though, that instead of sending an email with an
uncensored copy of the response to the user, you could just send the
standard one that gives them a link to the response on the site, but
give the response an initial prominence of 'requester only', which
means that only the requester can view it. (We just added the ability
to change the prominence of individual responses and outgoing messages
in release 0.14). Other visitors to the site would see a note in the
request history saying that the response is not visible  - and you
could add a standard message saying that this is because it hasn't
been moderated yet. That would mean you would need to do less
customization, I think.
@ghost ghost assigned sgatev Nov 20, 2013
@antitoxic
Copy link
Member Author

Това е като при отговор на request по default само админите и подавателя виждат отговора и те могат да преценят кой други да го вижда

@antitoxic
Copy link
Member Author

@s2gatev този flag намери ли го в опциите или mysociety ни правят на луди 😄

@sgatev
Copy link

sgatev commented Jan 28, 2014

От това, което набързо погледнах, в app/models/info_request.rb се задава default-ния prominence на request-ите. Ще трябва да го прегледам допълнително.

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

No branches or pull requests

2 participants