##// END OF EJS Templates
summary: fixed ui on summary page for non-admins. The setup instructions were broken if user had no write permissions.
milka -
r4687:c6d250c6 stable
parent child Browse files
Show More
@@ -111,9 +111,10 b''
111 </div>
111 </div>
112 %else:
112 %else:
113
113
114 %if h.HasRepoPermissionAny('repository.write','repository.admin')(c.repo_name):
114
115 <div class="quick_start">
115 <div class="quick_start">
116 <div class="fieldset">
116 <div class="fieldset">
117 %if h.HasRepoPermissionAny('repository.write','repository.admin')(c.repo_name):
117 <p><b>${_('Add or upload files directly via RhodeCode:')}</b></p>
118 <p><b>${_('Add or upload files directly via RhodeCode:')}</b></p>
118 <div class="pull-left">
119 <div class="pull-left">
119 <a href="${h.route_path('repo_files_add_file',repo_name=c.repo_name,commit_id=0, f_path='')}" class="btn btn-default">${_('Add New File')}</a>
120 <a href="${h.route_path('repo_files_add_file',repo_name=c.repo_name,commit_id=0, f_path='')}" class="btn btn-default">${_('Add New File')}</a>
@@ -124,6 +125,7 b''
124 %endif
125 %endif
125 </div>
126 </div>
126
127
128
127 <div class="fieldset">
129 <div class="fieldset">
128 <p><b>${_('Push new repo:')}</b></p>
130 <p><b>${_('Push new repo:')}</b></p>
129 <pre>
131 <pre>
General Comments 1
Under Review
author

Auto status change to "Under Review"

You need to be logged in to leave comments. Login now