tigeorgia / shenmartav

Website for shenmartav.ge
GNU General Public License v2.0
3 stars 9 forks source link

Parliament Alerts, future updates #53

Closed ddohler closed 12 years ago

ddohler commented 12 years ago

Where is the current text for the Parliament alerts coming from (I assume it was imported from the laws spreadsheet, but not 100% sure about that)? And how should we keep them updated in the future? Are they editable through the CMS somewhere? A quick browse through the admin didn't show anything that looked terribly promising.

sebastiantransparency commented 12 years ago

yes, it was imported from the draftlaws spreadsheet, fields sms_ka, sms_en (whatever is the most applicable). you can edit them within earch draftlaw, e.g. http://dev.shenmartav.ge/en/admin/draftlaw/draftlaw/138/

btw, because the original spreadsheets contained georgian and english fields for the alert, i implemented that accordingly a few months ago. effectively it works like the later introduced multilingual fields, but in some situations it possibly won't (not that i know of any right now). to remove that possibility and to remove the extra logic i implemented, i suggest to refactor it at some stage.

EkaR commented 12 years ago

I see this was just closed but still need to ask: how should we put the SMS alerts on the site for now?

Also, we probably won't be able to use the SMS en and ka sections under the draft law: there might be several different SMS alerts sent for each draft law (sometimes in two parts, sometimes text changes, different hearing times) + we need to indicate date when those were sent.

sebastiantransparency commented 12 years ago

currently, you have to add the alerts on the site as mentioned above, as part of the draftlaws.

if that doesn't meet your requirements, please open a new ticket to create a model for parliament alerts. it should be <5h (maybe 4h, including basic tests).

ddohler commented 12 years ago

Okay, we might do that, but not until post-Release, we won't be sending more alerts until sometime in October at the earliest.