Show More
@@ -86,9 +86,8 b' class FeedController(BaseRepoController)' | |||||
86 | #branches, tags, bookmarks |
|
86 | #branches, tags, bookmarks | |
87 | if cs.branch: |
|
87 | if cs.branch: | |
88 | desc_msg.append('branch: %s<br/>' % cs.branch) |
|
88 | desc_msg.append('branch: %s<br/>' % cs.branch) | |
89 | if h.is_hg(c.db_repo_scm_instance): |
|
89 | for book in cs.bookmarks: | |
90 | for book in cs.bookmarks: |
|
90 | desc_msg.append('bookmark: %s<br/>' % book) | |
91 | desc_msg.append('bookmark: %s<br/>' % book) |
|
|||
92 | for tag in cs.tags: |
|
91 | for tag in cs.tags: | |
93 | desc_msg.append('tag: %s<br/>' % tag) |
|
92 | desc_msg.append('tag: %s<br/>' % tag) | |
94 | diff_processor, changes = self.__changes(cs) |
|
93 | diff_processor, changes = self.__changes(cs) |
@@ -50,6 +50,10 b' class GitChangeset(BaseChangeset):' | |||||
50 | self._paths = {} |
|
50 | self._paths = {} | |
51 |
|
51 | |||
52 | @LazyProperty |
|
52 | @LazyProperty | |
|
53 | def bookmarks(self): | |||
|
54 | return () | |||
|
55 | ||||
|
56 | @LazyProperty | |||
53 | def message(self): |
|
57 | def message(self): | |
54 | return safe_unicode(self._commit.message) |
|
58 | return safe_unicode(self._commit.message) | |
55 |
|
59 |
@@ -152,13 +152,11 b'' | |||||
152 | ${cs.phase} |
|
152 | ${cs.phase} | |
153 | </span> |
|
153 | </span> | |
154 | %endif |
|
154 | %endif | |
155 |
% |
|
155 | %for book in cs.bookmarks: | |
156 |
|
|
156 | <span class="booktag" title="${_('Bookmark %s') % book}"> | |
157 | <span class="booktag" title="${_('Bookmark %s') % book}"> |
|
157 | ${h.link_to(book,h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))} | |
158 | ${h.link_to(book,h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))} |
|
158 | </span> | |
159 |
|
|
159 | %endfor | |
160 | %endfor |
|
|||
161 | %endif |
|
|||
162 | %for tag in cs.tags: |
|
160 | %for tag in cs.tags: | |
163 | <span class="tagtag" title="${_('Tag %s') % tag}"> |
|
161 | <span class="tagtag" title="${_('Tag %s') % tag}"> | |
164 | ${h.link_to(tag,h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))} |
|
162 | ${h.link_to(tag,h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))} |
@@ -48,13 +48,11 b'' | |||||
48 | </td> |
|
48 | </td> | |
49 | <td title="${cs.author}">${h.person(cs.author)}</td> |
|
49 | <td title="${cs.author}">${h.person(cs.author)}</td> | |
50 | <td> |
|
50 | <td> | |
51 | %if h.is_hg(c.db_repo_scm_instance): |
|
51 | %for book in cs.bookmarks: | |
52 | %for book in cs.bookmarks: |
|
52 | <span class="booktag" title="${_('Bookmark %s') % book}"> | |
53 | <span class="booktag" title="${_('Bookmark %s') % book}"> |
|
53 | ${h.link_to(book,h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))} | |
54 | ${h.link_to(book,h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))} |
|
54 | </span> | |
55 | </span> |
|
55 | %endfor | |
56 | %endfor |
|
|||
57 | %endif |
|
|||
58 | %for tag in cs.tags: |
|
56 | %for tag in cs.tags: | |
59 | <span class="tagtag" title="${_('Tag %s') % tag}"> |
|
57 | <span class="tagtag" title="${_('Tag %s') % tag}"> | |
60 | ${h.link_to(tag,h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))} |
|
58 | ${h.link_to(tag,h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))} |
@@ -73,13 +73,11 b'' | |||||
73 | <span class="mergetag">${_('Merge')}</span> |
|
73 | <span class="mergetag">${_('Merge')}</span> | |
74 | %endif |
|
74 | %endif | |
75 |
|
75 | |||
76 | %if h.is_hg(c.db_repo_scm_instance): |
|
76 | %for book in c.changeset.bookmarks: | |
77 | %for book in c.changeset.bookmarks: |
|
77 | <span class="booktag" title="${_('Bookmark %s') % book}"> | |
78 | <span class="booktag" title="${_('Bookmark %s') % book}"> |
|
78 | ${h.link_to(book,h.url('changeset_home',repo_name=c.repo_name,revision=c.changeset.raw_id))} | |
79 | ${h.link_to(book,h.url('changeset_home',repo_name=c.repo_name,revision=c.changeset.raw_id))} |
|
79 | </span> | |
80 |
|
|
80 | %endfor | |
81 | %endfor |
|
|||
82 | %endif |
|
|||
83 |
|
81 | |||
84 | %for tag in c.changeset.tags: |
|
82 | %for tag in c.changeset.tags: | |
85 | <span class="tagtag" title="${_('Tag %s') % tag}"> |
|
83 | <span class="tagtag" title="${_('Tag %s') % tag}"> |
General Comments 0
You need to be logged in to leave comments.
Login now