Changeset - 1a77a0c350f5
[Not reviewed]
default
0 6 0
Marcin Kuzminski - 15 years ago 2010-10-09 01:38:10
marcin@python-works.com
extended size of some input fields
cleaned prints from tasks
6 files changed with 6 insertions and 9 deletions:
0 comments (0 inline, 0 general)
rhodecode/lib/celerylib/tasks.py
Show inline comments
 
@@ -146,10 +146,8 @@ def get_commits_stats(repo_name, ts_min_
 
                datadict["added"] += len(cs.added)
 
                datadict["changed"] += len(cs.changed)
 
                datadict["removed"] += len(cs.removed)
 
                #print datadict
 
                
 
            else:
 
                #print 'ELSE !!!!'
 
                if k >= ts_min_y and k <= ts_max_y or skip_date_limit:
 
                    
 
                    datadict = {"time":k,
 
@@ -162,7 +160,6 @@ def get_commits_stats(repo_name, ts_min_
 
                        [author_key_cleaner(cs.author)]['data'].append(datadict)
 
                                        
 
        else:
 
            #print k, 'nokey ADDING'
 
            if k >= ts_min_y and k <= ts_max_y or skip_date_limit:
 
                commits_by_day_author_aggregate[author_key_cleaner(cs.author)] = {
 
                                    "label":author_key_cleaner(cs.author),
 
@@ -175,7 +172,7 @@ def get_commits_stats(repo_name, ts_min_
 
                                    "schema":["commits"],
 
                                    }               
 
    
 
#        #gather all data by day
 
        #gather all data by day
 
        if commits_by_day_aggregate.has_key(k):
 
            commits_by_day_aggregate[k] += 1
 
        else:
rhodecode/templates/admin/repos/repo_add.html
Show inline comments
 
@@ -31,7 +31,7 @@
 
	                <label for="repo_name">${_('Name')}:</label>
 
	            </div>
 
	            <div class="input">
 
	                ${h.text('repo_name',c.new_repo)}
 
	                ${h.text('repo_name',c.new_repo,class_="small")}
 
	            </div>
 
             </div>
 
            <div class="field">
rhodecode/templates/admin/repos/repo_add_create_repository.html
Show inline comments
 
@@ -27,7 +27,7 @@
 
	                <label for="repo_name">${_('Name')}:</label>
 
	            </div>
 
	            <div class="input">
 
	                ${h.text('repo_name',c.new_repo)}
 
	                ${h.text('repo_name',c.new_repo,class_="small")}
 
	                ${h.hidden('user_created','True')}
 
	            </div>
 
             </div>
rhodecode/templates/admin/repos/repo_edit.html
Show inline comments
 
@@ -32,7 +32,7 @@
 
                    <label for="repo_name">${_('Name')}:</label>
 
                </div>
 
                <div class="input input-medium">
 
                    ${h.text('repo_name')}
 
                    ${h.text('repo_name',class_="small")}
 
                </div>
 
             </div>
 
             
rhodecode/templates/settings/repo_fork.html
Show inline comments
 
@@ -29,7 +29,7 @@
 
	                <label for="repo_name">${_('Fork name')}:</label>
 
	            </div>
 
	            <div class="input">
 
	                ${h.text('fork_name')}
 
	                ${h.text('fork_name',class_="small")}
 
	            </div>
 
             </div>
 
            <div class="field">
rhodecode/templates/settings/repo_settings.html
Show inline comments
 
@@ -29,7 +29,7 @@
 
                    <label for="repo_name">${_('Name')}:</label>
 
                </div>
 
                <div class="input input-medium">
 
                    ${h.text('repo_name')}
 
                    ${h.text('repo_name',class_="small")}
 
                </div>
 
             </div>
 
             
0 comments (0 inline, 0 general)