aboutsummaryrefslogtreecommitdiff
path: root/rhodecode/templates/index_base.html
diff options
context:
space:
mode:
authorMarcin Kuzminski <marcin@python-works.com>2012-01-12 06:32:40 +0200
committerMarcin Kuzminski <marcin@python-works.com>2012-01-12 06:32:40 +0200
commitd99abc09bf9d8eac6d37487273a1f04540d0dbea (patch)
tree1c2b43cdedfb22c165b1480129e6bd7b94742690 /rhodecode/templates/index_base.html
parenta43b372cceb7343a5321159674a262869ad84722 (diff)
White-space cleanup
--HG-- branch : beta
Diffstat (limited to 'rhodecode/templates/index_base.html')
-rw-r--r--rhodecode/templates/index_base.html40
1 files changed, 20 insertions, 20 deletions
diff --git a/rhodecode/templates/index_base.html b/rhodecode/templates/index_base.html
index 61d85a0b..e5684dbb 100644
--- a/rhodecode/templates/index_base.html
+++ b/rhodecode/templates/index_base.html
@@ -1,17 +1,17 @@
-<%page args="parent" />
+<%page args="parent" />
<div class="box">
<!-- box / title -->
<div class="title">
<h5>
- <input class="q_filter_box" id="q_filter" size="15" type="text" name="filter" value="${_('quick filter...')}"/> ${parent.breadcrumbs()} <span id="repo_count">0</span> ${_('repositories')}
+ <input class="q_filter_box" id="q_filter" size="15" type="text" name="filter" value="${_('quick filter...')}"/> ${parent.breadcrumbs()} <span id="repo_count">0</span> ${_('repositories')}
</h5>
%if c.rhodecode_user.username != 'default':
%if h.HasPermissionAny('hg.admin','hg.create.repository')():
<ul class="links">
<li>
<span>${h.link_to(_('ADD REPOSITORY'),h.url('admin_settings_create_repository'))}</span>
- </li>
- </ul>
+ </li>
+ </ul>
%endif
%endif
</div>
@@ -27,7 +27,7 @@
##<th class="left"><a href="#">${_('Number of repositories')}</a></th>
</tr>
</thead>
-
+
## REPO GROUPS
% for gr in c.groups:
<tr>
@@ -41,7 +41,7 @@
##<td><b>${gr.repositories.count()}</b></td>
</tr>
% endfor
-
+
</table>
</div>
<div style="height: 20px"></div>
@@ -52,7 +52,7 @@
<div id='repos_list_wrap' class="yui-skin-sam">
<%cnt=0%>
<%namespace name="dt" file="/_data_table/_dt_elements.html"/>
-
+
<table id="repos_list">
<thead>
<tr>
@@ -87,7 +87,7 @@
</td>
##LAST REVISION
<td>
- ${dt.revision(repo['name'],repo['rev'],repo['tip'],repo['author'],repo['last_msg'])}
+ ${dt.revision(repo['name'],repo['rev'],repo['tip'],repo['author'],repo['last_msg'])}
</td>
##
<td title="${repo['contact']}">${h.person(repo['contact'])}</td>
@@ -96,8 +96,8 @@
<a title="${_('Subscribe to %s rss feed')%repo['name']}" class="rss_icon" href="${h.url('rss_feed_home',repo_name=repo['name'],api_key=c.rhodecode_user.api_key)}"></a>
%else:
<a title="${_('Subscribe to %s rss feed')%repo['name']}" class="rss_icon" href="${h.url('rss_feed_home',repo_name=repo['name'])}"></a>
- %endif:
- </td>
+ %endif:
+ </td>
<td>
%if c.rhodecode_user.username != 'default':
<a title="${_('Subscribe to %s atom feed')%repo['name']}" class="atom_icon" href="${h.url('atom_feed_home',repo_name=repo['name'],api_key=c.rhodecode_user.api_key)}"></a>
@@ -113,7 +113,7 @@
</div>
</div>
<script>
- YUD.get('repo_count').innerHTML = ${cnt};
+ YUD.get('repo_count').innerHTML = ${cnt};
var func = function(node){
return node.parentNode.parentNode.parentNode.parentNode;
}
@@ -127,7 +127,7 @@
];
var myDataSource = new YAHOO.util.DataSource(YUD.get("groups_list"));
-
+
myDataSource.responseType = YAHOO.util.DataSource.TYPE_HTMLTABLE;
myDataSource.responseSchema = {
fields: [
@@ -143,7 +143,7 @@
MSG_SORTDESC:"${_('Click to sort descending')}"
}
);
-
+
// main table sorting
var myColumnDefs = [
{key:"menu",label:"",sortable:false,className:"quick_repo_menu hidden"},
@@ -160,9 +160,9 @@
];
var myDataSource = new YAHOO.util.DataSource(YUD.get("repos_list"));
-
+
myDataSource.responseType = YAHOO.util.DataSource.TYPE_HTMLTABLE;
-
+
myDataSource.responseSchema = {
fields: [
{key:"menu"},
@@ -183,13 +183,13 @@
MSG_SORTDESC:"${_('Click to sort descending')}",
MSG_EMPTY:"${_('No records found.')}",
MSG_ERROR:"${_('Data error.')}",
- MSG_LOADING:"${_('Loading...')}",
+ MSG_LOADING:"${_('Loading...')}",
}
);
myDataTable.subscribe('postRenderEvent',function(oArgs) {
tooltip_activate();
quick_repo_menu();
- q_filter('q_filter',YUQ('div.table tr td a.repo_name'),func);
- });
-
- </script> \ No newline at end of file
+ q_filter('q_filter',YUQ('div.table tr td a.repo_name'),func);
+ });
+
+ </script>