Changes between Version 43 and Version 44 of BluePrintRESTImplementation


Ignore:
Timestamp:
02/14/10 18:55:55 (12 years ago)
Author:
Pat Tressel
Comment:

Show the crud_strings usage requested in ticket #164.

Legend:

Unmodified
Added
Removed
Modified
  • BluePrintRESTImplementation

    v43 v44  
    1111db[table].exposes = s3.crud_fields[table]
    1212db[table].uuid.requires = IS_NOT_IN_DB(db, '%s.uuid' % table)
    13 title_create = T('Add Shelter')
    14 title_display = T('Shelter Details')
    15 title_list = T('List Shelters')
    16 title_update = T('Edit Shelter')
    17 subtitle_create = T('Add New Shelter')
    18 subtitle_list = T('Shelters')
    19 label_list_button = T('List Shelters')
    20 label_create_button = T('Add Shelter')
    21 msg_record_created = T('Shelter added')
    22 msg_record_modified = T('Shelter updated')
    23 msg_record_deleted = T('Shelter deleted')
    24 msg_list_empty = T('No Shelters currently registered')
    25 s3.crud_strings[table] = Storage(title_create=title_create, title_display=title_display, title_list=title_list, title_update=title_update, subtitle_create=subtitle_create, subtitle_list=subtitle_list, label_list_button=label_list_button, label_create_button=label_create_button, msg_record_created=msg_record_created, msg_record_modified=msg_record_modified, msg_record_deleted=msg_record_deleted, msg_list_empty=msg_list_empty)
     13s3.crud_strings[table] = Storage(
     14    title_create = T('Add Shelter'),
     15    title_display = T('Shelter Details'),
     16    title_list = T('List Shelters'),
     17    title_update = T('Edit Shelter'),
     18    subtitle_create = T('Add New Shelter'),
     19    subtitle_list = T('Shelters'),
     20    label_list_button = T('List Shelters'),
     21    label_create_button = T('Add Shelter'),
     22    msg_record_created = T('Shelter added'),
     23    msg_record_modified = T('Shelter updated'),
     24    msg_record_deleted = T('Shelter deleted'),
     25    msg_list_empty = T('No Shelters currently registered'))
    2626}}}
    2727