comparison rhodecode/templates/pullrequests/pullrequest.html @ 3449:95a226b35b91 beta

codecleaner, fix tabs -> spaces
author Marcin Kuzminski <marcin@python-works.com>
date Mon, 04 Mar 2013 12:17:15 +0100
parents c4bb2b22110e
children 75e563531350
comparison
equal deleted inserted replaced
3448:cf665eb84d4c 3449:95a226b35b91
153 'other_ref': other_ref[2], 153 'other_ref': other_ref[2],
154 'other_ref_type': 'rev', 154 'other_ref_type': 'rev',
155 }; // gather the org/other ref and repo here 155 }; // gather the org/other ref and repo here
156 156
157 for (k in rev_data){ 157 for (k in rev_data){
158 url = url.replace('__'+k+'__',rev_data[k]); 158 url = url.replace('__'+k+'__',rev_data[k]);
159 } 159 }
160 160
161 YUD.get('pull_request_overview').innerHTML = "${_('Loading ...')}"; 161 YUD.get('pull_request_overview').innerHTML = "${_('Loading ...')}";
162 YUD.get('pull_request_overview_url').href = url; // shouldn't have as_form ... but ... 162 YUD.get('pull_request_overview_url').href = url; // shouldn't have as_form ... but ...
163 YUD.setStyle(YUD.get('pull_request_overview_url').parentElement,'display',''); 163 YUD.setStyle(YUD.get('pull_request_overview_url').parentElement,'display','');
170 // select back the revision that was just compared 170 // select back the revision that was just compared
171 setSelectValue(YUD.get('other_ref'), rev_data['other_ref']); 171 setSelectValue(YUD.get('other_ref'), rev_data['other_ref']);
172 // reset && add the reviewer based on selected repo 172 // reset && add the reviewer based on selected repo
173 YUD.get('review_members').innerHTML = ''; 173 YUD.get('review_members').innerHTML = '';
174 addReviewMember(_data.user.user_id, _data.user.firstname, 174 addReviewMember(_data.user.user_id, _data.user.firstname,
175 _data.user.lastname, _data.user.username, 175 _data.user.lastname, _data.user.username,
176 _data.user.gravatar_link); 176 _data.user.gravatar_link);
177 }) 177 })
178 } 178 }
179 179
180 ## refresh automatically when something changes (org_repo can't change) 180 ## refresh automatically when something changes (org_repo can't change)
181 181