~benoit.pierre/sloecode/incubation

« back to all changes in this revision

Viewing changes to sloecode/templates/person-details.html

  • Committer: Benoît PIERRE
  • Date: 2011-09-26 17:09:43 UTC
  • Revision ID: benoit.pierre@gmail.com-20110926170943-rd7s5wg8rrqwexpl
Quick hack: change branches display name.

Show diffs side-by-side

added added

removed removed

Lines of Context:
65
65
          {% for branch in branches %}
66
66
            <tr>
67
67
              <td>{{h.image(h.url('/bzr_icon.png'), 'Bazaar Branch')}}</td>
68
 
              <td>{{branch.get_name()}}</td>
 
68
              <td>{{branch.get_name(repo.get_path())}}</td>
69
69
              <td>{{branch.get_last_revision_number()}} revisions</td>
70
70
              <td>{{h.link_to(h.image(h.url('/application-list.png'), 'Branch Log'),
71
71
                    h.url(controller='person', person_name=person.login,
72
 
                    action='branch_log', branch_name=branch.get_name()),
 
72
                    action='branch_log', branch_name=branch.get_name(repo.get_path())),
73
73
                    title="Branch Log")}}
74
74
                  {{h.link_to(h.image(h.url('/bin-exclamation.png'), 'Delete Branch'),
75
75
                    h.url(controller='person', person_name=person.login,
76
 
                    action='delete_branch', branch_name=branch.get_name()),
 
76
                    action='delete_branch', branch_name=branch.get_name(repo.get_path())),
77
77
                    title="Delete Branch",
78
 
                    confirm="Are you sure you want to delete the '" + branch.get_name()
 
78
                    confirm="Are you sure you want to delete the '" + branch.get_name(repo.get_path())
79
79
                    + "' branch? Branch deletion is permanent!")}}
80
80
              </td>
81
81
            </tr>