Commit graph

186 commits

Author SHA1 Message Date
Henrik Levkowetz fe3e063f37 Factor out the page footer, and use it also in the idtracker's base.html
- Legacy-Id: 707
2007-06-27 17:38:53 +00:00
Bill Fenner 42245b73b4 Chase the moved update view.
- Legacy-Id: 706
2007-06-27 17:17:32 +00:00
Bill Fenner cccf7a9ca4 * Skip 'ipr' and 'contact_type' fields in BaseContactForm
* Move update() to new.py
 * Get the update submitter in update() and overwrite the ipr submitter with it when updating.
 * Remove ? from trailing slash in about - the addslashes middleware will get there first anyway, and the ? confuses reverse()
 - Legacy-Id: 705
2007-06-27 17:11:38 +00:00
Bill Fenner 06680fba8c Output referenced document titles with their numbers/filenames.
- Legacy-Id: 704
2007-06-27 17:10:41 +00:00
Bill Fenner da2b6199f0 Link internally with {% url %} instead of hardcoded pointer
to datatracker.
 - Legacy-Id: 703
2007-06-27 16:35:14 +00:00
Henrik Levkowetz 188a562114 IPR title search with test cases and acceptable diffs
- Legacy-Id: 697
2007-06-27 14:12:54 +00:00
Bill Fenner 760c1190e7 Send email on new/update submission.
Render "ipr/submitted.html" instead of redirecting to the IPR directly.
 - Legacy-Id: 696
2007-06-27 13:45:30 +00:00
Henrik Levkowetz 648587c674 The template for the IPR search error pages
- Legacy-Id: 690
2007-06-27 11:41:31 +00:00
Henrik Levkowetz b030e37f77 * Added IPR patent info search
* Added IPR patent info search term error pages
 * Fixed empty holder search template error
 * Some refactoring to have one ipr->doc relation instead of both ->drafts and -> rfcs
 - Legacy-Id: 687
2007-06-27 11:29:43 +00:00
Henrik Levkowetz 2bb88100d0 * Added IPR search on document title
* Added test cases for this and for addtional empty test results
 * Some refactoring of IPR search code
 * Fixed bugs in multiple templates for the empty test result case
 - Legacy-Id: 685
2007-06-27 09:25:14 +00:00
Bill Fenner 2fa81f4940 Initial work on allowing updates:
* Allow update to pass in an object to be updated.
 * Pass initial values to rfclist, draftlist, 3 ContactForms and IprForm if we have an update.
 * Pass **kwargs through ipr_detail_form_callback to get the initial values.
 * Add a row in IprUpdate if updating

Cleanups in that apply to both new and update:
 * Validate licensing_option in the clean function to allow it to be conditionally required.
 * Use a regular character field for date_applied, since it is a prose date in the database.
 * Fix typo in title setting: s/general/generic/
 * Fix typo in 3rd-party title setting: s/submitter/ietf_name/
 * Fix IprRfc object creation
 * Log the complete set of field errors
 * Move the validation of "one of the document fields must be filled in" to the form clean, since clean_data["draftlist"] isn't available in clean_rfclist()
 * Render non_field_errors since now we could have one.
 * Move the setting of the summary and title to after the form is cleaned, and use the clean version of the document names.
 - Legacy-Id: 683
2007-06-27 04:07:01 +00:00
Bill Fenner 5b00901dd6 Use defaultValue instead of "" so that if the form is populated
(such as when editing an existing submission), the javascript doesn't
empty out the submitter data because the box isn't checked.
 - Legacy-Id: 681
2007-06-27 02:24:36 +00:00
Bill Fenner cfd5b80406 Don't let missing checkboxes (because of missing sections) disable
the contact copying.
 - Legacy-Id: 679
2007-06-27 02:13:39 +00:00
Michael Lee c362d82532 Fix a missing piece in agenda.html template
- Legacy-Id: 678
2007-06-27 01:41:54 +00:00
Bill Fenner 6d03969bac URL shuffling in iesg, idtracker and my
- Legacy-Id: 666
2007-06-26 20:21:31 +00:00
Bill Fenner 8d6b0bae97 Moves:
* announcements -> ann
 * liaisons -> liaison
 * idindex -> drafts
 * mailinglists -> list

I checked the tests and used a link checker locally, so hopefully
the fallout will be minimal.
 - Legacy-Id: 657
2007-06-26 18:29:55 +00:00
Michael Lee 76b254f3d8 Fix agenda.html
- Legacy-Id: 654
2007-06-26 17:40:29 +00:00
Henrik Levkowetz fadd223250 Commenting out the django logo and link in favour of the less conspicuous link in the new footer line.
- Legacy-Id: 653
2007-06-26 17:31:43 +00:00
Henrik Levkowetz 0ed0d375ee Adding a footer line with version info and webmaster link, and a context processor to transfer information to it and variables in ietf/__init__.py to hold the information.
- Legacy-Id: 652
2007-06-26 17:30:25 +00:00
Henrik Levkowetz d37b5bb9ed Templates for IPR search for holder, wg and patent searches.
- Legacy-Id: 643
2007-06-25 21:02:24 +00:00
Michael Lee bd86570cbe Format the receipt page with table
- Legacy-Id: 639
2007-06-25 17:56:46 +00:00
Bill Fenner 5ed1f62f35 If the announcement hasn't been sent, then use the "old"
algorithm of displaying the current IESG with empty positions
for those that haven't been cast yet; if it has been sent
then just list the actual positions that are recorded since
the database doesn't have any record of whether the positions
were for current or old ADs.
 - Legacy-Id: 636
2007-06-25 17:41:50 +00:00
Michael Lee 6ca9b6f451 Render the receipt page with proper contents
- Legacy-Id: 635
2007-06-25 17:41:40 +00:00
Bill Fenner 5a4e9de2f1 Remove the hardcoded " - WCF" from the title.
Export server_mode into the template context, and use it to conditionalize
the addition of the server mode into the title.
 - Legacy-Id: 632
2007-06-25 16:32:08 +00:00
Bill Fenner 4c312f87de Add "Main Menu" and "Back" buttons.
- Legacy-Id: 629
2007-06-25 15:36:39 +00:00
Michael Lee 34a621fe5d nwg_list_submit bug fix
- Legacy-Id: 624
2007-06-25 05:17:44 +00:00
Michael Lee 6c35c89054 * fix Delete request
* Step number is dynamically generated
 * add template for delete confirmation
 - Legacy-Id: 623
2007-06-25 04:55:29 +00:00
Bill Fenner 0ed8006852 Use <td nowrap> to match the HTML of the original.
Use revision_display to get the right revision number for published RFCs.
 - Legacy-Id: 608
2007-06-22 01:43:43 +00:00
Henrik Levkowetz 94ed5baf2b Correcting earlier elimination of duplicate <hr>
- Legacy-Id: 603
2007-06-21 22:54:28 +00:00
Henrik Levkowetz f706ac2a51 Updated the logic for emitting the 'not related to a specific IETF contribution' text in holder IPR search results.
- Legacy-Id: 602
2007-06-21 21:28:32 +00:00
Bill Fenner 09c0829127 Use the "M, j" format for last call end date too.
Add the year to the date field when it's not this year, using a new template tag "thisyear" which returns a boolean.
Also implement template tag "inpast" which I think could be useful for the meeting materials page.
 - Legacy-Id: 599
2007-06-21 20:03:39 +00:00
Michael Lee c454d56ce1 Fix splited ballot on announcement pages
- Legacy-Id: 598
2007-06-21 19:46:45 +00:00
Bill Fenner c6493ad8ab Match I-D tracker search results better:
* Don't sort by ballot ID.
 * dictsort by filename within 'primary_flag' sets inside the template.
 * Change myifchanged to not reset on the first cycle of a for loop.
 * Introduce cyclevalue tag, to get the current cycle color from the cycle node itself instead of the context, since the context gets reset between for loops.
 - Legacy-Id: 596
2007-06-21 19:07:40 +00:00
Michael Lee 772a2242ad Add Back to Index button
- Legacy-Id: 595
2007-06-21 19:06:38 +00:00
Bill Fenner dab52a0993 Add "(EST)" for diff reduction.
- Legacy-Id: 593
2007-06-21 18:43:50 +00:00
Michael Lee c8eaf1e741 add missing </h2>
- Legacy-Id: 592
2007-06-21 18:43:12 +00:00
Bill Fenner b7bf0621ea Fix "Adding a new entry" for request type.
- Legacy-Id: 586
2007-06-21 16:34:03 +00:00
Henrik Levkowetz cf2c8e38ae Bah. Managed to introduce space before comma in [582]. Fixed.
- Legacy-Id: 583
Note: SVN reference [582] has been migrated to Git commit 23802f4987
2007-06-21 15:24:15 +00:00
Henrik Levkowetz c90d0e78f8 Added different handling for specific and generic disclosures.
- Legacy-Id: 581
2007-06-21 15:10:01 +00:00
Henrik Levkowetz 3ba8f23dfe Added IPR search for IPR holder name
- Legacy-Id: 580
2007-06-21 14:56:05 +00:00
Henrik Levkowetz ca041c9c33 Fix issue 5 of ticket #141, Font change.
- Legacy-Id: 579
2007-06-21 12:08:23 +00:00
Henrik Levkowetz ec8a75dfb5 Revised search templates, now extending the base template.
- Legacy-Id: 578
2007-06-21 11:41:20 +00:00
Henrik Levkowetz 6dbe4eda4d Added a block for the doctype declaration in the base template. (The IPR pages need surgery before they will render well with the XHTML/Transitional doctype.)
- Legacy-Id: 577
2007-06-21 11:40:11 +00:00
Henrik Levkowetz fd524413ef Fix duplicate number in list on announcement detail page by converting explicit list numbering and <br> into an ordered list.
- Legacy-Id: 575
2007-06-21 08:34:42 +00:00
Henrik Levkowetz 0484e8371c Fix ticket #138. Adding header to the IESG announcement page. The header added is not identical to that of the legacy page, as that is inappropriate (it belongs to the recent announcement list page).
- Legacy-Id: 574
2007-06-21 08:21:57 +00:00
Henrik Levkowetz 63d71da178 Fixed some more look-and-feel dissimilarities in the mailinglist forms; most of them caused by non-compliant or non-consistent old html copied over and inpreteded more strictly when served as XHTML.
- Legacy-Id: 573
2007-06-21 07:15:24 +00:00
Henrik Levkowetz ba303e06c0 Removed a block quote which had snuck in and made the old and new pages look unnecessarily dissimilar.
- Legacy-Id: 571
2007-06-21 06:47:25 +00:00
Henrik Levkowetz bba75bab04 Adding a local static/css/base.css, and changing the table settings a bit in the mailing list pages to make the two header images end up on the same line. Needing to do this is related to the change to serving XHTML Transitional; if I take away the xml and transitional doctype declarations, the pre-change html worked fine.
- Legacy-Id: 569
2007-06-21 00:59:59 +00:00
Bill Fenner 057503d2af Switch back to local images, especially now that
they're properly served.
 - Legacy-Id: 568
2007-06-20 22:51:22 +00:00
Bill Fenner 43ae8b85ed Fix the broken link for substate reported in #109. Also use the idinternal
object's state-number fields instead of fetching the related row and
then using the ID field.
 - Legacy-Id: 564
2007-06-20 21:57:53 +00:00