Commit Graph

58 Commits

Author SHA1 Message Date
james
214df4ddbf Fix a bug where awards that didtn have a sponsor set didnt show up in the list, also, do the same for award types, though award types hsould never be empty... 2010-01-19 03:29:29 +00:00
james
e6b24ff0ab Remove the edit icon (you now click anywhere on the row) and fix disabling fields for non-downloaded awards (=0, not null) 2010-01-14 18:55:23 +00:00
dave
21d3dcd054 - Replace class "tableedit" with class "editor", undo the alignment on class tableedit 2009-10-01 04:42:55 +00:00
dave
51eaad76a5 - Fix the trophy printing
- Fix the table updates on creating a new prize
2009-09-26 08:11:34 +00:00
dave
d77616a438 - Fix award info saving
- Fix clearing out divisons/categories
2009-09-26 00:10:57 +00:00
dave
0f31f72f07 - Add two more fields:
- additional_materials: if there are additional materials required if a fair assigns a winner to this award.
	- register_winners: to tell the feeder fair that this award is for winners who will participate at the upstream fair
2009-09-25 04:29:41 +00:00
dave
25f19d9fbd - Enable the feeder_enable checkbox. There's no DB backend for it, it enables
the feeder fair input on click, or if a feeder fair ul/dl is already
  selected.
2009-09-24 01:39:05 +00:00
dave
b0e7715fb9 - Turn fair_save into an ajax query
- Add notification area and debug to the popup window, still an ugly hack.
- Add a checkbox to the feeder fair config to enable/disable the whole thing (will confuse people less, needs to be implemented)
- Also add a checkbox for signaling the feeder fair if there are additional materials for an assigned award.
2009-09-23 16:42:24 +00:00
dave
0ce215b8bc - Remove debug line 2009-09-21 01:34:42 +00:00
dave
39fa2de7bd - Fix eligibility save 2009-09-21 01:33:55 +00:00
dave
fdeef1f273 - Ok, so jquery does do the right thing, we just have to be careful not to read
fields that may not exist.
2009-09-20 21:50:51 +00:00
dave
e07d24102c - Well, disabling the fields was a good idea, exept that serialize() skips over
the value but not the name, so it sets every disabled field to "" when
  passing the data to mysql.
2009-09-20 19:25:42 +00:00
dave
1e1a7d6202 - Make the notice divs a bit easier to see (light yellow background)
- Don't reload tabs all the times, remember the current award_id for each tab
  and only reload if necessary
- Add a little notice for downloaded awards, telling the user why they can't edit some fields.
2009-09-20 18:45:32 +00:00
dave
5989a8c254 - More fixes for editting, we dont' actually download the description or award type, so let the user edit those. 2009-09-19 08:14:59 +00:00
dave
7a474046a5 - beginning of setting uneditable fields for downloaded awards. 2009-09-19 08:06:21 +00:00
dave
2762a12eb0 - Add a notice_ javascript function for testing, yup, it works
- Reimplement the new award functionality
- Fix the reloading of the dialog by disabling all tabs and reselecting one.  It works properly now.
2009-09-18 07:50:32 +00:00
dave
20fe1d8b13 - Switch to a global message status area 2009-09-18 03:29:13 +00:00
james
99f1d4726c Make the default prize template editor work when accessed directly from the awards.php page 2009-09-17 19:30:32 +00:00
james
cb5bb16953 Disable all the other tabs if editing the default prize template 2009-09-17 19:25:14 +00:00
james
7b068cd83f Load the information into the tab when the dialog is opened (fixes it not reloading the data when you close and reopen the dialog) 2009-09-17 18:50:37 +00:00
james
715e72c0c8 Fix the buttons to work, remove the links 2009-09-17 17:10:02 +00:00
dave
abd1fda6fe - Always scrub data before passing it to mysql 2009-09-17 05:53:47 +00:00
dave
0a9053181c - Fix a reference to the award external identifier
- Move the nubmer of available prizes to the top so it's harder to miss.
2009-09-14 05:34:31 +00:00
dave
a3f8957d96 - add the html for the registration linkage button. does nothing else yet. 2009-09-13 22:23:19 +00:00
dave
1e830e47bc - Add support for setting the external identifier 2009-09-13 21:58:50 +00:00
dave
d2535f46bc - Add status area on each page for award div
- Redirect all ajax load output to a debug div (which can be turned on with
  debug=true).  The output has to go somewhere, and it can't go to the
  notification div, because it will overwrite what's already there.  The ajax
  methods emit javascript now to add notifications.
2009-09-13 19:25:03 +00:00
dave
1f830c7845 - Proof of concept floating status messages that go away after a timeout, in
the same approx. spot that SFIAB has always put status messages.
2009-09-13 08:33:54 +00:00
dave
e9d3d4ce03 - Database update for feeder fair award info
- Load/Save feeder fair awards in the award editor
- Fix all the POSTs in the award editor.   .load automatically does a POST if
  the data is an array, so we need to call .serializeArray() when we want a
  post to happen.
2009-09-13 07:08:12 +00:00
dave
5d5c91766a - Remove the order from the ajax save too 2009-09-11 06:36:16 +00:00
dave
1c70110680 Remove the order box from the award info, the main table supports drag and drop. 2009-09-11 06:35:49 +00:00
dave
986b762f4e - Move some GETs to POSTs
- Sort out the header sizes, I think.
2009-09-11 06:12:17 +00:00
james
d17de3f6e6 Updated and working translations dropdown - simply add class="translatable" anywhere you want something translated 2009-09-11 05:16:37 +00:00
dave
8b9b029e31 - Use jqueryui's tab system instead of our own
- Update the tab style so it doesn't look stupid.
2009-09-10 22:52:04 +00:00
dave
074d39171f - Implement the generic prize template editor (not fully tested)
- Doesn't launch from awards.php yet for some reason.
2009-09-10 17:32:16 +00:00
dave
2270593d65 - Make eligibility saving work. 2009-09-10 08:56:58 +00:00
dave
d50debde12 - Make the main award table sortable by dragging
- Implement new/delete award (still needs some eyecandy)
- Update the order tables to recalc the order without fetching it from the server 
- Only thing left to do is make sure saving eligiblity works.
:
2009-09-10 08:29:16 +00:00
dave
80c743eb1a remove a debug statement 2009-09-10 01:24:57 +00:00
dave
aa1d88f7d2 - Prize editor with movable tables. It's still a bit rough, more work needs to be done with turning on /offthings at the right time, but it's all there, and it all works. 2009-09-10 01:23:58 +00:00
dave
8b7a6e14b3 - Convert the popup to use the jquery ui popup
- Theme the whole thing
- Remvoe the translation dropdown support for now, it's causing a spurious reload replacing the endire page with a clickable "translations" link
- Add code for the prize editor, not done yet.
2009-09-09 17:06:11 +00:00
james
f963dbf276 Merge all changes from branch r1284:1498 into trunk 2009-09-09 00:26:12 +00:00
james
d190d4f0b7 Display errors if at least one age category and one division arent selected 2008-03-27 08:06:14 +00:00
james
560d799b4b Allow filtering the awards management interface by award sponsor status: any, confirmed only, unconfirmed only 2008-03-20 20:37:33 +00:00
dave
125437dd55 - More GVRSF stuff that I missed. Add two fields to the award_awards:
'self_nominate', and 'schedule_judges'.
- self_nominate defaults to 'yes' for all new and existing awards.  If turned
  off, the award will not appear in the student self-nomination pages.
- schedule_judges specifies whether an award should have judges or not, we have
  some special awards that students can nominate for but do not require judges
  to find the winner.  Similarly we have some awards students cannot nominate
  for but do require judges to determine a winner.  This allows both cases to
  be handled.
2008-01-24 07:46:12 +00:00
james
f1706322d7 Rename heading "# of Prizes" to just "Prizes" 2007-12-06 04:10:09 +00:00
james
566c1d1573 Show awards imported from external sources differently in the awards list
Better handle award identifiers
Add a missing <br /> on import
2007-11-28 21:55:14 +00:00
james
0551a65e93 Add trophy selection (student keeper, student return, school keeper, school return) to prizes
Add description to award & update awards ceremony script to include description if available
2007-11-23 21:21:37 +00:00
dave
68f52562e5 - Fix the header and top navbar on the awards management/editor page 2007-11-23 20:23:46 +00:00
dave
0ff8489d58 - include user.inc.php before using user_auth_required() 2007-11-21 17:02:09 +00:00
dave
04e70ceb33 - Use user_auth_required() for authentication to check for committee access
(needed for multirole users)
- Add the top navbar to all pages
2007-11-18 23:50:23 +00:00
james
d209b0648f Add new CUSTOM report: Program Awards List (used for ORSF printed program)
Add award criteria to getJudgingTeams() result
Modify CUSTOM report judges teams proejcts, to show each award and the criteria/eligibility for each award that the team is assigned to judge.
More ease of use cleanups to awards interface
Add new field award order to student report generator
2007-03-28 22:32:57 +00:00