Commit graph

17 commits

Author SHA1 Message Date
Colin Kuskie
83497b773e Fix Story permissions so that admin need not be turned on.
canEdit is now determined by the Story and the parent StoryArchive.
With tests, and template changes.
2009-05-28 04:15:50 +00:00
Colin Kuskie
cf546ad031 Add headline field, with templates. 2009-04-09 14:53:10 +00:00
Colin Kuskie
2bd407d70e Prune out preview code for now. 2009-03-24 19:36:02 +00:00
Colin Kuskie
55196c4eda Update template variable help, and add an i18n label for the view photo template. 2009-03-23 18:14:45 +00:00
Colin Kuskie
8b071cb892 Add template variables for determining if a story has photos, and how many it has.
Tests, help, i18n.
2009-03-23 15:08:54 +00:00
Colin Kuskie
c8da6cfe26 Fix a bug where the cached data structure was not deleted.
Add template variables for showing the uploaded photos.
Add tests for the template variables.
Add a form field to delete the photo with all data.
2009-03-23 05:01:36 +00:00
Colin Kuskie
3d5f5b04c1 Rearrange form fields in default edit story template.
Change photo JSON blob to be an array ref, not a hash ref.
Code for saving new photo data.
2009-03-20 21:42:47 +00:00
Colin Kuskie
420a70531b Add form fields for uploading images to the Story.
Help, i18n for those fields.
Need to be added to the template.
2009-03-20 18:20:47 +00:00
Colin Kuskie
8e7fcd0e6c Remove quotes from Help vars.
Add crumb trail template variables to the Story.
Fix links for keywords in the Story.
2009-03-20 03:46:10 +00:00
Colin Kuskie
49b01b76ec i18 label for StoryTopic help.
View methods for StoryTopic, with tests for template variables and amount of data returned.
2009-03-19 04:07:59 +00:00
Colin Kuskie
ae4c57a7f0 Add the new timeUpdated variable to the template, along with i18n phrase support. 2009-03-07 00:52:48 +00:00
Colin Kuskie
b5889146d3 More Story template variable help 2009-03-07 00:45:08 +00:00
Colin Kuskie
4b1ec30748 Formatted duration template variable and method, with tests.
Start writing Story help.
2009-03-07 00:01:41 +00:00
Colin Kuskie
338433e78d Help and i18n for the edit story template. 2009-03-05 17:59:42 +00:00
Colin Kuskie
40d17b7be9 Add stories to a story archive.
i18n support for that.
log problems when calling www_add in the story archive.
2009-03-05 17:22:41 +00:00
Colin Kuskie
1fc14a0cd3 Add a missing i18n tag for assetName. 2009-02-27 21:03:28 +00:00
Colin Kuskie
4085c246b1 Skeletal code for Story Asset. i18n as well. 2009-02-27 20:52:26 +00:00