mainSavannah Administration - Support: sr #107662, 'Job Title' absent

 
 

sr #107662: 'Job Title' absent

Submitter:  shailesh <shailesh_ghadge>
Submitted:  Tue 12 Apr 2011 03:58:08 PM UTC
Votes: 10
 
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  Done
Privacy:  Public Assigned to:  rdoyle
Operating System:  GNU/Linux Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 31 Dec 2011 02:24:46 AM UTC, comment #2: 

I have pushed these changes to Savannah. All job posting pages have the title of the job and the project. The category is now a separate attribute of lower importance (in terms of visual importance).

I'll close the ticket now, please re-open if required.

Cheers

Ryan Doyle <rdoyle>
Mon 26 Dec 2011 06:50:16 AM UTC, comment #1: 

I agree that this information would be good to have on the details of the job being viewed.

See the attached screenshot, I think this is cleared. The job title is the main heading as well as the project. Additionally, the category is also listed where date, submitter etc.. is located.

Diff required for the changes below:

========
root@savannah-qa:/var/www/savane/frontend/php/people# git diff viewjob.php
diff --git a/frontend/php/people/viewjob.php b/frontend/php/people/viewjob.php
index a72c5cc..181887f 100644
--- a/frontend/php/people/viewjob.php
+++ b/frontend/php/people/viewjob.php
@@ -39,7 +39,8 @@ if ($group_id && $job_id)
 
   #for security, include group_id
   $result=db_execute("SELECT groups.group_name,groups.type,groups.unix_group_name,people_job_category.name AS category_name,".
-     "people_job_status.name AS status_name,people_job.title,".
+     "people_job_status.name AS status_name,people_job.title AS job_title,".
+     "people_job.category_id AS category_id,".
      "people_job.description,people_job.date,user.user_name,user.user_id ".
      "FROM people_job,groups,people_job_status,people_job_category,user ".
      "WHERE people_job_category.category_id=people_job.category_id ".
@@ -59,10 +60,11 @@ if ($group_id && $job_id)
       $project=project_get_object($group_id);
       print '
                <h2 class=toptitle>';
-      print db_result($result,0,'category_name');
+      print db_result($result,0,'job_title');
 
-      print  ' '._("wanted for").' <a href="'.$GLOBALS['sys_home'].'projects/'.  db_result($result,0,'unix_group_name') .'">'. db_result($result,0,'group_name') .'</a></h2>'.
-       '<p><span class="preinput">'._("Submitted By:").'</span> <a href="'.$GLOBALS['sys_home'].'users/'. db_result($result,0,'user_name') .'">'. db_result($result,0,'user_name').'</a><br />'.
+      print  ' '._("for").' <a href="'.$GLOBALS['sys_home'].'projects/'.  db_result($result,0,'unix_group_name') .'">'. db_result($result,0,'group_name') .'</a></h2>'.
+       '<p><span class="preinput">'._("Category:").'</span> <a href="' . $GLOBALS['sys_home'] . 'people/?category_id=' . db_result($result,0,'category_id') . '">'.db_result($result,0,'category_name').'</a><br />'.
+       '<span class="preinput">'._("Submitted By:").'</span> <a href="'.$GLOBALS['sys_home'].'users/'. db_result($result,0,'user_name') .'">'. db_result($result,0,'user_name').'</a><br />'.
        '<span class="preinput">'._("Date:").'</span> '. utils_format_date(db_result($result,0,'date')) .'<br />'.
        '<span class="preinput">'._("Status:").'</span> '. db_result($result,0,'status_name').'</p>';

========

I will update the Savane codebase with these changes if no one else objects and push to savannah.gnu.org.


Ryan Doyle <rdoyle>
Tue 12 Apr 2011 03:58:08 PM UTC, original submission:  

'Job Title' does not appear anywhere in the 'View Job' page.

I listed a job in the category 'other' for a 'Research Volunteer'.
https://savannah.gnu.org/people/?category_id=9

On selecting the job from list, the 'View Job' page is loaded.
https://savannah.gnu.org/people/viewjob.php?group_id=6591&job_id=564

However, there is no mention of the Job Title anywhere.

The current 'View Job' Page heading is in the format: 'Category' wanted for 'Group Name'
So, it reads "Other wanted for GNU Education".

I think the format - 'Job title' wanted for 'Group/Project name' - sounds more logical.

--
Shailesh



shailesh <shailesh_ghadge>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rdoyle (Updated the item)
  • -email is unavailable- added by shailesh_ghadge (Voted in favor of this item)
  • -email is unavailable- added by shailesh_ghadge (Submitted the item)
  •  

    There are 10 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-12-31 rdoyle StatusIn Progress Done
        Open/ClosedOpen Closed
    2011-12-26 rdoyle StatusNone In Progress
    2011-12-26 rdoyle Attached File- Added screenshot_viewjpb_changes.png, #24669
        Assigned toNone rdoyle
    2011-08-08 shailesh_ghadge Carbon-Copy- Added shailesh_ghadge

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code