[PR]
×
[PR]上記の広告は3ヶ月以上新規記事投稿のないブログに表示されています。新しい記事を書く事で広告が消えます。
[PR]上記の広告は3ヶ月以上新規記事投稿のないブログに表示されています。新しい記事を書く事で広告が消えます。
392,400d391
< def __init__(self):
< # Get Name of all known users
< self.db = self.env.get_db_cnx()
< self.name_map = {}
< for username, name, email in self.env.get_known_users(self.db):
< if name:
< self.name_map[username] = name
<
<
946,949c937
< if author in self.name_map:
< return self.name_map[author]
< else:
< return obfuscate_email_address(author)
---
> return author
955,963c943,944
< if author in self.name_map:
< return self.name_map[author]
< else:
< return author
< else:
< if author in self.name_map:
< return self.name_map[author]
< else:
< return obfuscate_email_address(author)
---
> return author
> return obfuscate_email_address(author)
188,199d187
< <py:when test="col in ('reporter', '報告者')">
< <td class="$col" py:attrs="td_attrs">${cell.value != '' and format_author(cell.value) or '--'}
< <hr py:if="fullrow"/>
< </td>
< </py:when>
<
< <py:when test="col in ('owner', '担当者')">
< <td class="$col" py:attrs="td_attrs">${cell.value != '' and format_author(cell.value) or '--'}
< <hr py:if="fullrow"/>
< </td>
< </py:when>
<
81,88d80
< <py:when test="n_field_name == '0_owner'">
< <select name="${n_field_name}">
< <option></option>
< <option py:for="option in field.options"
< selected="${option == constraint_value and 'selected' or None}"
< value="$option">${format_author(option)}</option>
< </select>
< </py:when>