##// END OF EJS Templates
Bumped mercurial version to 2.3...
Bumped mercurial version to 2.3 - fixed issues with compare of two remote repos at particular revisions - added tests for cases when mercurial update broke code and tests didn't catch this - removed obsolete EmptyChangeset from the rhodecode code

File last commit:

r2427:f467c755 beta
r2684:2b6939a7 beta
Show More
files_browser.html
116 lines | 4.5 KiB | text/html | HtmlLexer
renamed project to rhodecode
r547 <%def name="file_class(node)">
%if node.is_file():
<%return "browser-file" %>
%else:
<%return "browser-dir"%>
%endif
</%def>
<div id="body" class="browserblock">
fixed file browsing ui and css
r949 <div class="browser-header">
<div class="browser-nav">
${h.form(h.url.current())}
<div class="info_box">
White-space cleanup
r1888 <span class="rev">${_('view')}@rev</span>
UI !
r1756 <a class="ui-btn" href="${c.url_prev}" title="${_('previous revision')}">&laquo;</a>
Implemented #111 copy github node finder solution
r1452 ${h.text('at_rev',value=c.changeset.revision,size=5)}
UI !
r1756 <a class="ui-btn" href="${c.url_next}" title="${_('next revision')}">&raquo;</a>
## ${h.submit('view',_('view'),class_="ui-btn")}
White-space cleanup
r1888 </div>
fixed file browsing ui and css
r949 ${h.end_form()}
</div>
<div class="browser-branch">
${h.checkbox('stay_at_branch',c.changeset.branch,c.changeset.branch==c.branch)}
<label>${_('follow current branch')}</label>
</div>
Implemented #111 copy github node finder solution
r1452 <div class="browser-search">
Added initial support for creating new nodes in repos
r1483 <div id="search_activate_id" class="search_activate">
UI !
r1756 <a class="ui-btn" id="filter_activate" href="#">${_('search file list')}</a>
Added initial support for creating new nodes in repos
r1483 </div>
White-space cleanup
r1888 % if h.HasRepoPermissionAny('repository.write','repository.admin')(c.repo_name):
UX improvements
r1553 <div id="add_node_id" class="add_node">
UI !
r1756 <a class="ui-btn" href="${h.url('files_add_home',repo_name=c.repo_name,revision=c.changeset.raw_id,f_path=c.f_path)}">${_('add new file')}</a>
hide add new file button if user has no permission for it
r1486 </div>
White-space cleanup
r1888 % endif
Implemented #111 copy github node finder solution
r1452 <div>
<div id="node_filter_box_loading" style="display:none">${_('Loading file list...')}</div>
<div id="node_filter_box" style="display:none">
implements #330 api method for listing nodes at particular revision...
r1810 ${h.files_breadcrumbs(c.repo_name,c.changeset.raw_id,c.file.path)}/<input class="init" type="text" value="type to search..." name="filter" size="25" id="node_filter" autocomplete="off">
White-space cleanup
r1888 </div>
</div>
Implemented #111 copy github node finder solution
r1452 </div>
Fixed url bug when using numeric revision in file browser,...
r884 </div>
White-space cleanup
r1888
renamed project to rhodecode
r547 <div class="browser-body">
<table class="code-browser">
<thead>
<tr>
<th>${_('Name')}</th>
<th>${_('Size')}</th>
<th>${_('Mimetype')}</th>
fixed vcs issue with last_changeset for filenodes...
r2084 <th>${_('Last Revision')}</th>
renamed project to rhodecode
r547 <th>${_('Last modified')}</th>
<th>${_('Last commiter')}</th>
</tr>
</thead>
White-space cleanup
r1888
Implemented #111 copy github node finder solution
r1452 <tbody id="tbody">
new files views...
r1737 %if c.file.parent:
renamed project to rhodecode
r547 <tr class="parity0">
White-space cleanup
r1888 <td>
new files views...
r1737 ${h.link_to('..',h.url('files_home',repo_name=c.repo_name,revision=c.changeset.raw_id,f_path=c.file.parent.path),class_="browser-dir ypjax-link")}
renamed project to rhodecode
r547 </td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
Move changes for git implementation
r633 </tr>
renamed project to rhodecode
r547 %endif
White-space cleanup
r1888
new files views...
r1737 %for cnt,node in enumerate(c.file):
shorten last modified column in files listing
r887 <tr class="parity${cnt%2}">
renamed project to rhodecode
r547 <td>
Implements subrepos view inside filebrowser...
r2232 %if node.is_submodule():
${h.link_to(node.name,node.url or '#',class_="submodule-dir ypjax-link")}
%else:
${h.link_to(node.name, h.url('files_home',repo_name=c.repo_name,revision=c.changeset.raw_id,f_path=h.safe_unicode(node.path)),class_=file_class(node)+" ypjax-link")}
%endif:
renamed project to rhodecode
r547 </td>
<td>
fixed nasty bug when browsing on renames....
r583 %if node.is_file():
renamed project to rhodecode
r547 ${h.format_byte_size(node.size,binary=True)}
White-space cleanup
r1888 %endif
renamed project to rhodecode
r547 </td>
<td>
%if node.is_file():
${node.mimetype}
%endif
</td>
<td>
%if node.is_file():
Added h.tooltip to all places that tooltip_title is used....
r2427 <div class="tooltip" title="${h.tooltip(node.last_changeset.message)}">
Implements #304...
r1770 <pre>${'r%s:%s' % (node.last_changeset.revision,node.last_changeset.short_id)}</pre>
</div>
renamed project to rhodecode
r547 %endif
</td>
<td>
%if node.is_file():
Added h.tooltip to all places that tooltip_title is used....
r2427 <span class="tooltip" title="${h.tooltip(h.fmt_date(node.last_changeset.date))}">
shorten last modified column in files listing
r887 ${h.age(node.last_changeset.date)}</span>
renamed project to rhodecode
r547 %endif
</td>
<td>
%if node.is_file():
fixes issue #320....
r1764 <span title="${node.last_changeset.author}">
${h.person(node.last_changeset.author)}
</span>
White-space cleanup
r1888 %endif
renamed project to rhodecode
r547 </td>
</tr>
%endfor
Implemented #111 copy github node finder solution
r1452 </tbody>
<tbody id="tbody_filtered" style="display:none">
White-space cleanup
r1888 </tbody>
renamed project to rhodecode
r547 </table>
</div>
White-space cleanup
r1888 </div>