Commit Graph

67 Commits

Author SHA1 Message Date
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
naomi
2ae3fcea56 Made contact details not revisionable 2018-04-11 11:42:45 +02:00
naomi
6d63d5f328 Finished making person not revisionable
Am making stuff not revisionable for the initial hosted release and then will think about how to properly implement revisioning later.
Also removed now-unneeded contact details types vocabulary (contact details type is now a text field)
2018-04-11 11:35:09 +02:00
naomi
4d4f279148 Merge branch 'master' into spike 2018-04-11 11:32:09 +02:00
naomi
494ac6cdc1 Tidied up contact details base fields 2018-04-11 11:30:49 +02:00
naomi
add15f2c6d removed all person stuff and rand update entiees 2018-04-11 10:44:29 +02:00
naomi
c47ce313b3 Removed all fields from Person in default view mode 2018-04-10 18:09:25 +02:00
naomi
3d8c7f6ca1 removed visibility of base fields in Profile 2018-04-10 17:56:30 +02:00
naomi
20469e3aa7 Search is now case-insensitive. 2018-04-10 17:26:16 +02:00
naomi
0e0b31cfcd Added custom block for creating profiles against a person.
It renders a link for each available profile type and they open in a popup which has a route and a controller.
2018-04-10 17:20:31 +02:00
naomi
f764ed5670 Added search module with database server, Person index and view 2018-04-10 13:02:51 +02:00
naomi
b629a13ec8 Added address, phone and email to contact details. 2018-04-06 16:14:40 +02:00
naomi
3128d0cabf Profile labels now read "First Name Last Name - Profile Type" 2018-04-06 15:34:03 +02:00