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

Aktualna tema - backend #288

Closed
jsuchal opened this issue Oct 28, 2019 · 4 comments · Fixed by #374
Closed

Aktualna tema - backend #288

jsuchal opened this issue Oct 28, 2019 · 4 comments · Fixed by #374
Assignees

Comments

@jsuchal
Copy link
Member

jsuchal commented Oct 28, 2019

K tomuto treba spravit podporu na backende. Za mna by tam mal byt v admine moznost pridat nejaky global message (nadpis, text, on/off).

Aby sa toto dalo zobrazit (na kazdej podstranke je to vzdy rovnake)
slovensko-digital/navody-frontend#111

Sluzi to ked chceme dat nejaky velky oznam.

@HanaBene
Copy link
Collaborator

@jsuchal podla mna to treba zobrazit iba na homepage.

Do admina pridat moznost zapnut tuto feature, definovat nadpis, podnadpis, text buttonu a link kam to ma smerovat.

@jsuchal
Copy link
Member Author

jsuchal commented Oct 28, 2019

@HanaBene ok, tak prepinac off/local/global. Ja som uz na gov.uk videl ze to naozaj bolo vsade. To sa hodi na hackathony, volby atd.

@mortenko mortenko self-assigned this Oct 30, 2019
@mortenko
Copy link
Collaborator

mortenko commented Nov 3, 2019

@jsuchal @HanaBene pozeral som PR na navody-frontend a pokial dobre vidim tak to nie je este hotove minimalne ten commit co tam je nesedi s tym co asi chcete. Takze ako ?
Asi by bolo dobre dokoncit frontend a ja to potom napojim na backend ?

@jsuchal jsuchal added this to the Hackday:: christmas edition milestone Dec 9, 2019
@martyciz martyciz self-assigned this Dec 9, 2019
@martyciz
Copy link
Collaborator

martyciz commented Dec 9, 2019

cca dev steps:

  • create table settings with key, value, enabled
  • seed with record "current_topic"
  • add admin section
  • on close use cookies.permanent to remember user decision to have it closed. Key is hash of record value, so if it updates, it become visible again.

@HanaBene HanaBene modified the milestones: Hackday #4, Hackathon ZA Mar 30, 2020
@jsuchal jsuchal assigned danielhusar and unassigned martyciz and mortenko Sep 19, 2020
jsuchal pushed a commit that referenced this issue Sep 19, 2020
Create current topic, closes #288
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 a pull request may close this issue.

5 participants