Commit graph

123 commits

Author SHA1 Message Date
Michael Lee 81ed8b20db Fix buildbot errors, 28, 29, 30
- Legacy-Id: 534
2007-06-19 17:54:09 +00:00
Bill Fenner 58c0a9f052 Switch to inline css, like the original pages have,
instead of a misplaced <link>.

Fix a typo in independent_doc.
 - Legacy-Id: 533
2007-06-19 17:46:12 +00:00
Bill Fenner a3e2da7380 select_related() on IDInternal eliminates most of the relevant rows
due to missing data in other tables, so instead, select on 
InternetDrafts.  This is a little confusing, since the two halves
of the page have different types of objects.

Also add the intended_status, which was also missing in this
template.
 - Legacy-Id: 532
2007-06-19 17:19:19 +00:00
Bill Fenner 2ab8c030f9 Add the intended status to match the cgi version of the page.
- Legacy-Id: 531
2007-06-19 16:44:03 +00:00
Henrik Levkowetz 96b1f822ab Added an overview page for the review pages
- Legacy-Id: 529
2007-06-19 14:54:19 +00:00
Bill Fenner cd32b69099 Oops, missed the uppercasing of the day names.
- Legacy-Id: 524
2007-06-18 23:01:44 +00:00
Bill Fenner 94373f2915 Use humanize for the "th" suffix for the IETF meeting number.
Capitalize day names.

Don't repeat the month unless necessary and the year at all of
the meeting dates.

Still missing: group type (e.g., "WG" or "BOF")
 - Legacy-Id: 522
2007-06-18 22:54:15 +00:00
Bill Fenner c85c6a59b8 Reduce diffs with meeting_materials.cgi
- Legacy-Id: 520
2007-06-18 22:23:16 +00:00
Bill Fenner bd0bb1e749 Chase model change: area_acronym -> area
- Legacy-Id: 519
2007-06-18 22:20:02 +00:00
Bill Fenner e407114073 Add "please send problem reports to" footer.
- Legacy-Id: 518
2007-06-18 22:16:28 +00:00
Bill Fenner 63d3325b07 welcome_new can be NULL, so use "" instead of rendering "None".
- Legacy-Id: 514
2007-06-18 22:08:39 +00:00
Bill Fenner 178748f282 rfc.status.status (e.g., "Informational") conflicted with
internetdraft.status.status (e.g., "Active", "Dead", ...).
I assumed when I wrote {{ ..document.status.status }} that it
would throw an exception and so be ignored for RFCs.  Mea culpa.
 - Legacy-Id: 513
2007-06-18 22:02:17 +00:00
Bill Fenner b251c287bc Remove extra <hr> and fix case.
- Legacy-Id: 509
2007-06-18 21:43:40 +00:00
Henrik Levkowetz 42013f2c35 Fix added <hr>
- Legacy-Id: 506
2007-06-18 20:01:16 +00:00
Henrik Levkowetz 862645e52d Fix case difference.
- Legacy-Id: 505
2007-06-18 19:59:14 +00:00
Bill Fenner 0aa1161f2a Supply form0 to the templates, and use that in ListReqAuthorized.html
to display the right approval text (or a fallback if it's something
else for some reason)
 - Legacy-Id: 494
2007-06-18 16:39:47 +00:00
Henrik Levkowetz 801f3e74f2 Make the review page work both when invoked as /review/ and /review/<num>/
- Legacy-Id: 493
2007-06-18 16:13:49 +00:00
Bill Fenner a93b927f7a A spare "<" crept in. Oops!
- Legacy-Id: 490
2007-06-18 15:16:23 +00:00
Bill Fenner 646bc5f894 Match look'n'feel by including the base css file.
- Legacy-Id: 489
2007-06-18 15:14:19 +00:00
Henrik Levkowetz c03019afbe Adding a page review facility under the URL /review/. This is based on frames and takes the URLs in question from the testurl.list files.
- Legacy-Id: 487
2007-06-18 14:34:00 +00:00
Bill Fenner 7fa51e03cd Change the idindex search to use GET to allow bookmarking searches.
Use request.REQUEST to allow backwards-compatible searching.
 - Legacy-Id: 486
2007-06-18 14:24:56 +00:00
Henrik Levkowetz a6c5f1b805 Fixes to IPR templates, view and model, and acceptable diffs.
- Legacy-Id: 485
2007-06-17 23:19:21 +00:00
Henrik Levkowetz 56aae66b03 Template and acceptable diff update for third-party notifications
- Legacy-Id: 484
2007-06-17 21:34:11 +00:00
Henrik Levkowetz 7d33c372d1 Template and code changes for the third-party IPR disclosure page, and an acceptable diff file.
- Legacy-Id: 483
2007-06-17 21:08:36 +00:00
Henrik Levkowetz f051f64977 Fixing some renaming breakage.
- Legacy-Id: 479
2007-06-17 16:13:14 +00:00
Henrik Levkowetz 6829830b59 Name changes for IprDetail model fields.
- Legacy-Id: 477
2007-06-17 15:53:39 +00:00
Henrik Levkowetz 92968fa04e Somewhat reorganized IPR search code. Renamed IprDetails model field. New IPR search templates.
- Legacy-Id: 476
2007-06-17 15:21:48 +00:00
Henrik Levkowetz e317588462 Minor template tweaks to remove diffs
- Legacy-Id: 463
2007-06-17 02:03:27 +00:00
Henrik Levkowetz 201f9b4787 Added missing page header
- Legacy-Id: 461
2007-06-17 01:51:56 +00:00
Henrik Levkowetz dda241104e Changed 'irtf. org' ==> 'irtf.org'
- Legacy-Id: 459
2007-06-17 01:41:22 +00:00
Henrik Levkowetz 3f8ac442e0 Fixed missing and buggy text in the template.
- Legacy-Id: 458
2007-06-17 01:36:16 +00:00
Henrik Levkowetz bed8e1c90b Changing the redirect for desc.cgi. The previous cgi field couldn't work; unfortunately I can't figure out a way of getting this to work at all using only the current redirect mechanism. It seems to me to either need to do repeated redirect lookups, or have an 'id' table similar to the 'command' table...
- Legacy-Id: 428
2007-06-16 12:00:56 +00:00
Henrik Levkowetz bf60fe103d Added leading-zero RFC number normalization to another field
- Legacy-Id: 404
2007-06-15 13:29:17 +00:00
Henrik Levkowetz 6a2c3ab85f Added IPR search by RFC number.
- Legacy-Id: 400
2007-06-15 11:52:26 +00:00
Henrik Levkowetz a8ee5fdbf6 Two new templates for the IPR search function
- Legacy-Id: 391
2007-06-14 23:47:02 +00:00
Henrik Levkowetz 56b33c8dec Backing out the previous change so I can commit it with proper comments...(4)
- Legacy-Id: 390
2007-06-14 23:45:48 +00:00
Henrik Levkowetz d989d0aa21 A little filter to add a space to strings like 'RFC1234' to get 'RFC 1234'
- Legacy-Id: 386
2007-06-14 23:38:51 +00:00
Henrik Levkowetz 90a414fb10 IPR search form. Search results not implemented yet.
- Legacy-Id: 383
2007-06-14 14:06:26 +00:00
Bill Fenner 2bf510f43b Add "myifchanged" tag, which is different from the standard ifchanged
in two ways:
 * It permits an "else" clause.  This code is from http://code.djangoproject.com/ticket/4534
 * It doesn't push the context while rendering, so context changes can be performed (like the change that cycle makes: putting the current value into the context)

Use this new tag to cycle the row color if the ballot_id has changed, or
if it's a synthetic document.
 - Legacy-Id: 380
2007-06-13 18:43:56 +00:00
Bill Fenner 2ad2219895 Implement DocumentWrapper class, which isn't a model but has enough
of the same API as IDInternal to allow the template to render it.

When fetching lists of document IDs, use values() to fetch only the
ID to reduce database overhead (and model object creation overhead)
 - Legacy-Id: 373
2007-06-13 17:21:22 +00:00
Henrik Levkowetz fc67fd376c Instead of compensating for the 'Did you find a bug...' footer on pages where it isn't present in the original, take it out from the idtracker base.html and remove the compensation. Later add a less intrusive generic footer on all pages and and add diff compensation for the absense of the 'Did you find a bug...' footer.
- Legacy-Id: 371
2007-06-13 17:03:28 +00:00
Henrik Levkowetz 5fae7d56b2 Fixing some template changes needed after the model surgery in changeset [186], and extending the attribute alignment to IprRfc and IprDraft models.
- Legacy-Id: 363
Note: SVN reference [186] has been migrated to Git commit 5f4d99a36a
2007-06-13 14:05:26 +00:00
Henrik Levkowetz 37552fe91f Corrected IPR Updates.. fix
- Legacy-Id: 362
2007-06-13 13:30:58 +00:00
Henrik Levkowetz 59413c7344 * Don't show 'Updates...' information for withdrawn IPR Disclosures.
* Add missing table header fields.
 - Legacy-Id: 361
2007-06-13 13:22:19 +00:00
Henrik Levkowetz e1e375e269 IPR presentation tweaks
- Legacy-Id: 352
2007-06-12 22:46:54 +00:00
Bill Fenner c4cee402d5 Diff reduction: AD names are "Last, First" and "Area:" is "Area Acronym:".
- Legacy-Id: 333
2007-06-12 16:15:40 +00:00
Bill Fenner 49ee9f8cd7 * Implement replaces and replaced_by in search_result_row and idinternal_detail. (This is almost repeating myself, except for slightly different formatting and different links.)
* Implement displayname_with_link() to go with filename_with_link().
* Implement idtracker backwards linkage in RFC model.
* Don't use unformat_textarea to display Note: - it hasn't been implemented, and seems to want to de-HTML stuff but we're displaying HTML
 - Legacy-Id: 320
2007-06-11 20:27:14 +00:00
Bill Fenner ea639f96c4 * Add filename_with_link to create links only for active documents
* Display document status if it's not Active
* Use revision_display in displayname()
* Check for DocumentComment.created_by flag value of 999
 - Legacy-Id: 317
2007-06-11 18:47:44 +00:00
Bill Fenner 5c674df41e Remove non-wg wizard header that accidentally snuck in.
- Legacy-Id: 313
2007-06-11 17:10:34 +00:00
Bill Fenner 178c5e13e0 * search_result_row.html no longer takes care of the ballot set rendering for you; you have to pass it the entire contents of the ballot set.
* Model and template changes to allow documents to report their name via doctype() to allow "Draft Name:" vs. "RFC Name:"
* Add parenthesis around the submission type to match the cgi
* Pass the whole ballot set to search_result_row from idinternal_detail
* Display only public comments in idinternal_detail
* Use comment.get_absolute_url instead of a relative URL.  (This fixes /idtracker/NNN/comment/YYY/ which wouldn't work)
* Add a search url to compare
* In view, when searching, don't filter for primary_flag=1, but do order by ballot and -primary_flag so that the results are grouped properly.
* Introduce public_comments() accessor which filters comments()
* Fix comments() to not use rfc_flag, to match the schema
* Order ballot_set() by -primary_flag so the results are grouped properly.
 - Legacy-Id: 312
2007-06-11 16:53:25 +00:00