Closed cccs-ip closed 10 years ago
Will do but the right approach here is to simply create a branch in github, attempt your change and if it fails, push the branch so we can share it and run the same (initially non-working) code locally.
If you are guessing at model fields, go to the relevant model in https://github.com/cccs-web/core/blob/master/cvs/models.py
I'll sort out the branch when I start work on this issue.
Thanks for clarifying the process. As noted, my reluctance to even try derived from the fact that I knew I had no idea what the code was to link to the database. We should schedule that tutorial sometime soon... before I run off again.
Your guesses are pretty close ;)
If you like, I'll ping you when I get onto this issue (tomorrow probably).
Sounds good (assuming I'm awake when you're working on it!)
By the way, with regard to that 'employment' section - I am not sure we can reiterate entries in the format I defined. That is - is it possible to tell the system to re-iterate a full HTML structure per entry in order to allow a format that looks roughly as follows:
Employment History:
Cross-Cultural Consulting Services 2005–2011 : Director, Business Development and Research
Similarly, is it possible to 'hide' sections where no data is given? For example, if a consultant does not have any data for 'Membership in Professional Societies', can we make is so that header doesn't show on their CV output page until some data is there?
Yes, and yes.
I've created a cv_presentation branch which I'll serve on staging so you can see the template as it develops there.
Under the areas of specialization, are you looking for all of the items relating to all of the projects that the person has been involved in?
So for example the cccs themes will be each distinct theme for which there is at least one matching project associated with the cv.
I'm going to get the template working so we can present it and iterate towards an acceptable presentation.
Your configuration of the database highlighted a challenge with regard to our assignment of 'themes' and 'sub-themes'. Generally speaking, a project will be assigned only a sector designation, like "mining"... although Banks sometimes have special initiatives for educational reform, etc, as the topic (theme) of a project intervention.
When a consultant works on a project, by contrast, she or he will usually contribute to specific thematic issues. CCCS, for example, tends to work on Indigenous Peoples issue with relation to project... be they mining projects, forestry projects, or whatever.
One option we might explore is to allow consultants to work with "project information" from their CV entry form. For example, they could chose a project, like WBN, and then add thematic issues that relate to their own experience. Greg and I add Indigenous Peoples, you add information techologies, and another guy adds health. These individual themes and values are unique to a CV (that is, not everyone's CV has to show all... and ideally it wouldn't in order to avoid confusion), and the project sheet "compiles" these entries. This would allow consultants to assign thematic values to projects without having to go into the project page, and any administrator looking at a project page that seems some weird thematic or sector entry could just delete (and thus delete it also from the consultants' CVs as an result), or otherwise drill into the consultants' CVs to investigate the abnormality.
For the CVs, we'd want to use only the CCCS themes and sectors. For the moment, just listing 'themes' and 'sectors' is enough... we don't need 'subthemes' or 'subsectors'. This would be for all projects that all consultants have worked on. We also don't need to worry about IFC "subthemes" or IFC sectors, as these will largely be subsumed within the CCCS values (which were formulated to be a comprehensive amalgam of IFC + others). [ We might, however, want to add in a list of IFC Performance Standards for each consultants (currently IFC theme), so that it would show, for instance, that I have experience in PS1, PS7 and PS8... but we can deal with that later.]
Done and deployed. Review with https://crossculturalconsult.com/cvs/list/
I used a collapsing panel for the projects because the table looked scrappy (highly variable content never works too well in a table).
I've assumed everyone has at least one project. It should not break if they haven't but may show empty titles etc.
Note that I've dropped the project link for the time being because I'm using the project title to expand and collapse the project detail accordion.
Thanks, Paul. It definitely is starting to shape up. Some immediate feedback:
The 'Employment Experience' section, for example, is different than what I was asking about, so I am still not sure if the sort of format I was requesting can be iterated in the way I was imagining. Also, we'll need to add in 'position' and to We also have no particular need to auto-count and present "Months Worked".
In its current arrangement, my preference would be for the following format:
Dates Employed | Employer | Position |
---|---|---|
Jan 2005 - Feb 2011 | Cross-Cultural Consulting Services, PLLC. | Director, Business Development & Research |
PLEASE NOTE In the example above, I don't supply the actual days. At most, I would only like to supply months (people very often don't know the day they started a job).
With regard to the 'Projects' section, the main problem I see is how the database text is presented. My list of activities, for example, isn't breaking at all:
* facilitating project planning and reporting to meet IFC requirements * lead author of the Project Code of Conduct (CoC) * co-author of the Public Consultation and Disclosure Plan (PCDP) * coordinating editor and lead reviewer of the Cultural Heritage Screening Report * lead author of the Cultural Heritage Protection Plan (CHPP) * contributing author to the Community and Indigenous Peoples Development Plan * contributing author to the Land Acquisition and Resettlement Plan (LARAP)
Finally, there is no value in the 'references section', yet this field is still showing. You suggested it would be possible to hide headers and field areas if there was no content available?
I'll have a few more change requests soon.
Another point that is somewhat unusual is how information is ordered. How is this logic determined?
In the CV backend, my education is listed oldest to most recent. This is the same for training. Yet it's presented completely differently in the CV section:
Can we enforce stacking orders? I would prefer the frontend to run opposite the database backend:* with most recent entries on top
The standard place to define the order is with the relevant model. I think most recent first is the best rule of thumb here. Using anything other than this standard ordering on admin will be a bit of a pain (and is probalby a bad idea).
I've made most recent first the sort for both the front and the back end.
If you are making 'most recent first' in the backend, then please move that 'add project' field to show at the top so that projects stack beneath it. If you cannot do this, please make it so that most recent is on bottom in the admin, but on top for the front end.
Please also note that this parallels my request (and my argument) given in issue #101 and #119.
Please also note my other change requests above.
As discussed, the current system is good enough for now. I'm closing this as agreed.
This issue relates to content showing in the CV HTML page. It refers not only the the database system, but also to the additional points raised above:
The 'Employment Experience' section, for example, is different than what I was asking about, so I am still not sure if the sort of format I was requesting can be iterated in the way I was imagining. Also, we'll need to add in 'position' and to We also have no particular need to auto-count and present "Months Worked".
In its current arrangement, my preference would be for the following format:
Dates Employed | Employer | Position |
---|---|---|
Jan 2005 - Feb 2011 | Cross-Cultural Consulting Services, PLLC. | Director, Business Development & Research |
PLEASE NOTE In the example above, I don't supply the actual days. At most, I would only like to supply months (people very often don't know the day they started a job).
With regard to the 'Projects' section, the main problem I see is how the database text is presented. My list of activities, for example, isn't breaking at all:
With regard to the 'Projects' section, the main problem I see is how the database text is presented. My list of activities, for example, isn't breaking at all:
* facilitating project planning and reporting to meet IFC requirements * lead author of the Project Code of Conduct (CoC) * co-author of the Public Consultation and Disclosure Plan (PCDP) * coordinating editor and lead reviewer of the Cultural Heritage Screening Report * lead author of the Cultural Heritage Protection Plan (CHPP) * contributing author to the Community and Indigenous Peoples Development Plan * contributing author to the Land Acquisition and Resettlement Plan (LARAP)
Component 1 moved to #138 . Component 2 moved to #137 .
I'd like to re-work the print-out of our consultant CV information somewhat. E.g. https://crossculturalconsult.com/cvs/cv/detail/aaron-dennis/
Below is some modified HTML produced by @marcusbjoerkqvist and myself. There are some aspects of the linkages to the database that we don't know how to deal with; we flagged these with the word
GUESS
. There's also a duplicated 'Employment' section, where I tried to model the output I would like using HTML, since I couldn't get it working for the Bootstrap table classes. Turns out I am also having issues with the HTML (enforcing proportions).Because this is mostly indicative, I didn't try to make changes to the CV template html.
Please help us to revise the CV pages accordingly.