Commit Graph

379 Commits

Author SHA1 Message Date
naomi
c34669afe6 more css 2018-04-15 13:42:08 +02:00
naomi
01b0a2c93f Styled the modal forms. 2018-04-15 13:21:14 +02:00
naomi
58136ba2b4 styling 2018-04-15 12:53:49 +02:00
naomi
fae90205a4 Styling 2018-04-15 12:44:07 +02:00
naomi
feaaa6cbb8 Added CSS and Javascript. 2018-04-15 10:22:55 +02:00
naomi
368c355ce5 Fixed edit link on case details block 2018-04-14 18:52:04 +02:00
naomi
73f072a1c5 Created Case Details Block
Will use that for sidebar instead of previous Involved Parties block and case details view
2018-04-14 18:44:38 +02:00
naomi
5978546333 Removed involved parties from default case view mode
They will be handled by block code because they need to link to the persons not the hats
2018-04-14 18:19:43 +02:00
naomi
72936b0da6 Put content back into case html template
I discovered that it is where the "rendered entity" comes from.
2018-04-14 17:49:58 +02:00
naomi
483d1ac9d9 Added Involved Parties block for case page 2018-04-14 17:20:51 +02:00
naomi
171eaa73a2 cosmetic change 2018-04-14 16:26:24 +02:00
naomi
33a8b1e0a5 Added subject field to activity, and made that the label 2018-04-14 16:01:06 +02:00
naomi
09142a52dc Removed case itself from case page template
Because it will be managed with views and blocks.
2018-04-14 15:32:34 +02:00
naomi
0dec481020 Added route and controller for adding activity to case 2018-04-14 14:40:37 +02:00
naomi
7eb0ee092b Added case field to activity 2018-04-14 13:35:04 +02:00
naomi
7c66cbd791 Cosmetic changes to case entity fields 2018-04-14 13:30:41 +02:00
naomi
9d84451cb0 Hid status field on activity 2018-04-14 13:19:40 +02:00
naomi
484fb5a119 Added activity entity 2018-04-14 12:26:09 +02:00
naomi
74e98818ba Hid some fields in case form display
also added destination to case creator ajax links
2018-04-12 18:46:27 +02:00
naomi
109c3e14c9 Added controller for creating new cases. 2018-04-12 18:39:07 +02:00
naomi
12ccecdd55 Added links for creating cases, to person panel
Plus some markup ready for css
2018-04-12 18:25:03 +02:00
naomi
65efcb21b4 Added This Hat's Cases view to config
Also changed case entity paths
2018-04-12 17:47:45 +02:00
naomi
b853704700 added case view to person panel. 2018-04-12 17:37:43 +02:00
naomi
0cc4d50d71 Added Involved Parties base field to case
Multi-value entity reference field.
2018-04-12 15:48:24 +02:00
naomi
c9cf33ac19 Generate case entity. (Called CaseEntity because "Case" is reserved word) 2018-04-12 15:32:24 +02:00
naomi
6746b986db Fixed conditional structure in Person Panel block. 2018-04-12 15:24:32 +02:00
naomi
61c969d7f4 Created "person panel" block which displays in content area for a person
Also moved contact details view config to zencrm_entities because it is referenced as an entity reference view in a base field on Hat.
2018-04-12 15:11:25 +02:00
naomi
a2373ea7e7 removed error log statement for debugging 2018-04-12 13:56:08 +02:00
naomi
58ac24db8f Added route and controller for editing hat
So that the person id is in the URL.
2018-04-12 13:42:52 +02:00
naomi
79c49eb996 Changed URL for Hat edit page. 2018-04-12 13:14:27 +02:00
naomi
17070065e5 Changed URL for adding contact details, in line with hat one 2018-04-12 13:00:04 +02:00
naomi
fd3ee02099 Added Hat contact details field filtered by entity reference view. 2018-04-12 12:52:01 +02:00
naomi
2cf897c92b Changed path for adding hat to /zencrm/hat/{person_id}/....
Because the person id needs to be in third place in the URL, so that it filters the entity reference view for the contact details. But the second place cannot be "person" as then it would try to render the person blocks on th page.
2018-04-12 12:06:51 +02:00
naomi
607941c725 More fiddling with the hats and contact details view blocks. 2018-04-11 20:00:39 +02:00
naomi
6e85b82b2d moved hat creator to sidebar 2018-04-11 19:38:24 +02:00
naomi
25981b45f6 When person has no hats, hat creator show in content pane. 2018-04-11 19:33:52 +02:00
naomi
a6449a9cdc Hides contact details block when empty 2018-04-11 19:23:50 +02:00
naomi
9575233ee1 Moved more config into optional 2018-04-11 14:49:12 +02:00
naomi
8166372c02 Fixed some paths 2018-04-11 14:35:08 +02:00
naomi
689d208463 Added route and controller for adding new contact details to a person 2018-04-11 14:24:29 +02:00
naomi
32803ff8a8 Added config for "this person's hats" view and its block placement
Also moved other configurations into the optional dir
2018-04-11 13:40:08 +02:00
naomi
0068566b22 more fixing paths to follow /zencrm policy
it counts for things that they open in popups, too.
2018-04-11 13:19:03 +02:00
naomi
3226ce01d3 added destination to hat creator popup
so it returns to person page after creation.
2018-04-11 13:11:54 +02:00
naomi
6067afed23 Added sidebar search widget to config. 2018-04-11 12:52:51 +02:00
naomi
0ec801a42c Changed path for adding hat type to /zencrm
The policy is that all paths (added by the module) that the hosted user will access should start with that.
2018-04-11 12:46:17 +02:00
naomi
2725a5b27e Added HatCreator block placement to config. 2018-04-11 12:44:28 +02:00
naomi
cf0d928423 Changing routes back after they got changed when regenerating entities 2018-04-11 12:39:39 +02:00
naomi
a48e37ad39 Changed name of Profile entity to Hat
so as not to conflict with Profile or Profile2 module on existing sites
2018-04-11 12:18:27 +02:00
naomi
1e1bfe0ca9 removed profile files ready for regenerating as unrevisionable 2018-04-11 11:51:14 +02:00
naomi
10b84fb208 Added base fields back into ContactDetails class 2018-04-11 11:44:47 +02:00