Mercurial > p > roundup > code
annotate templates/minimal/html/home.html @ 3882:46ef2a6fd79d
config option to limit nosy attachments based on size
reworking of patch [SF#772323] from Philipp Gortan
It tries to avoid reading the file contents just to
get the file size but that was too hard for metakit backends.
They don't inherit from blobfiles.FileStorage which makes
it more challenging. Really that backend should be reworked
to inherit from FileStorage.
I'm not sure I like the default being sys.maxint. Maybe have
0 == unlimited? But what if someone really wanted to set it to
0 to mean "don't attach anything"?
| author | Justus Pendleton <jpend@users.sourceforge.net> |
|---|---|
| date | Mon, 03 Sep 2007 17:14:09 +0000 |
| parents | 54a0869b92e4 |
| children |
| rev | line source |
|---|---|
|
1591
21312a7564fd
moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
1 <tal:block metal:use-macro="templates/page/macros/icing"> |
|
2445
f965504aa5d9
tracker name added to the page title
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2430
diff
changeset
|
2 <title metal:fill-slot="head_title" i18n:translate="">Tracker home - <span |
|
f965504aa5d9
tracker name added to the page title
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2430
diff
changeset
|
3 i18n:name="tracker" tal:replace="config/TRACKER_NAME" /></title> |
|
2430
e323c2d54a17
i18n markup
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
1976
diff
changeset
|
4 <span metal:fill-slot="body_title" tal:omit-tag="python:1" |
|
e323c2d54a17
i18n markup
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
1976
diff
changeset
|
5 i18n:translate="">Tracker home</span> |
|
1591
21312a7564fd
moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
6 <td class="content" metal:fill-slot="content"> |
|
21312a7564fd
moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
7 |
|
21312a7564fd
moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
8 <!-- |
|
21312a7564fd
moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
9 This is the default body that is displayed when people visit the |
|
21312a7564fd
moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
10 tracker. The tag below lists the currently open issues. You may |
|
21312a7564fd
moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
11 replace it with a greeting message, or a different list of issues or |
|
21312a7564fd
moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
12 whatever. It's a good idea to have the issues on the front page though |
|
21312a7564fd
moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
13 --> |
|
21312a7564fd
moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
14 |
|
21312a7564fd
moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
15 <tal:block tal:define="anon python:request.user.username == 'anonymous'"> |
|
2430
e323c2d54a17
i18n markup
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
1976
diff
changeset
|
16 <p tal:condition="not:anon" class="help" i18n:translate=""> |
|
2473
54a0869b92e4
menu is on the left
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2445
diff
changeset
|
17 Please select from one of the menu options on the left. |
|
1591
21312a7564fd
moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
18 </p> |
|
2430
e323c2d54a17
i18n markup
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
1976
diff
changeset
|
19 <p tal:condition="anon" class="help" i18n:translate=""> |
|
1591
21312a7564fd
moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
20 Please log in or register. |
|
21312a7564fd
moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
21 </p> |
|
21312a7564fd
moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
22 </tal:block> |
|
21312a7564fd
moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
23 |
|
21312a7564fd
moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
24 </td> |
|
21312a7564fd
moving templates around
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
25 </tal:block> |
