Show More
@@ -168,7 +168,9 b' class ReposController(BaseRepoController' | |||||
168 | % (form_result['repo_name'], form_result['clone_uri']), |
|
168 | % (form_result['repo_name'], form_result['clone_uri']), | |
169 | category='success') |
|
169 | category='success') | |
170 | else: |
|
170 | else: | |
171 |
h. |
|
171 | repo_url = h.link_to(form_result['repo_name'], | |
|
172 | h.url('summary_home', repo_name=form_result['repo_name'])) | |||
|
173 | h.flash(h.literal(_('created repository %s') % repo_url), | |||
172 | category='success') |
|
174 | category='success') | |
173 |
|
175 | |||
174 | if request.POST.get('user_created'): |
|
176 | if request.POST.get('user_created'): |
@@ -84,7 +84,7 b' class FilesController(BaseRepoController' | |||||
84 | url_ = url('files_add_home', |
|
84 | url_ = url('files_add_home', | |
85 | repo_name=c.repo_name, |
|
85 | repo_name=c.repo_name, | |
86 | revision=0, f_path='') |
|
86 | revision=0, f_path='') | |
87 |
add_new = |
|
87 | add_new = h.link_to(_('click here to add new file'), url_) | |
88 | h.flash(h.literal(_('There are no files yet %s') % add_new), |
|
88 | h.flash(h.literal(_('There are no files yet %s') % add_new), | |
89 | category='warning') |
|
89 | category='warning') | |
90 | redirect(h.url('summary_home', repo_name=repo_name)) |
|
90 | redirect(h.url('summary_home', repo_name=repo_name)) |
@@ -162,8 +162,11 b' class ForksController(BaseRepoController' | |||||
162 | # create fork is done sometimes async on celery, db transaction |
|
162 | # create fork is done sometimes async on celery, db transaction | |
163 | # management is handled there. |
|
163 | # management is handled there. | |
164 | RepoModel().create_fork(form_result, self.rhodecode_user.user_id) |
|
164 | RepoModel().create_fork(form_result, self.rhodecode_user.user_id) | |
165 | h.flash(_('forked %s repository as %s') \ |
|
165 | fork_url = h.link_to(form_result['repo_name'], | |
166 |
|
|
166 | h.url('summary_home', repo_name=form_result['repo_name_full'])) | |
|
167 | ||||
|
168 | h.flash(h.literal(_('forked repository %s as %s') \ | |||
|
169 | % (repo_name, fork_url)), | |||
167 | category='success') |
|
170 | category='success') | |
168 | except formencode.Invalid, errors: |
|
171 | except formencode.Invalid, errors: | |
169 | c.new_repo = errors.value['repo_name'] |
|
172 | c.new_repo = errors.value['repo_name'] |
@@ -3385,6 +3385,10 b' table.code-browser .submodule-dir {' | |||||
3385 | border-color: #c43c35 #c43c35 #882a25; |
|
3385 | border-color: #c43c35 #c43c35 #882a25; | |
3386 | } |
|
3386 | } | |
3387 |
|
3387 | |||
|
3388 | .error_msg a { | |||
|
3389 | text-decoration: underline; | |||
|
3390 | } | |||
|
3391 | ||||
3388 | .warning_msg { |
|
3392 | .warning_msg { | |
3389 | color: #404040 !important; |
|
3393 | color: #404040 !important; | |
3390 | background-color: #eedc94; |
|
3394 | background-color: #eedc94; | |
@@ -3400,6 +3404,10 b' table.code-browser .submodule-dir {' | |||||
3400 | border-color: #eedc94 #eedc94 #e4c652; |
|
3404 | border-color: #eedc94 #eedc94 #e4c652; | |
3401 | } |
|
3405 | } | |
3402 |
|
3406 | |||
|
3407 | .warning_msg a { | |||
|
3408 | text-decoration: underline; | |||
|
3409 | } | |||
|
3410 | ||||
3403 | .success_msg { |
|
3411 | .success_msg { | |
3404 | background-color: #57a957; |
|
3412 | background-color: #57a957; | |
3405 | background-repeat: repeat-x !important; |
|
3413 | background-repeat: repeat-x !important; | |
@@ -3414,6 +3422,11 b' table.code-browser .submodule-dir {' | |||||
3414 | border-color: #57a957 #57a957 #3d773d; |
|
3422 | border-color: #57a957 #57a957 #3d773d; | |
3415 | } |
|
3423 | } | |
3416 |
|
3424 | |||
|
3425 | .success_msg a { | |||
|
3426 | text-decoration: underline; | |||
|
3427 | color: #FFF !important; | |||
|
3428 | } | |||
|
3429 | ||||
3417 | .notice_msg { |
|
3430 | .notice_msg { | |
3418 | background-color: #339bb9; |
|
3431 | background-color: #339bb9; | |
3419 | background-repeat: repeat-x; |
|
3432 | background-repeat: repeat-x; | |
@@ -3428,6 +3441,10 b' table.code-browser .submodule-dir {' | |||||
3428 | border-color: #339bb9 #339bb9 #22697d; |
|
3441 | border-color: #339bb9 #339bb9 #22697d; | |
3429 | } |
|
3442 | } | |
3430 |
|
3443 | |||
|
3444 | .notice_msg a { | |||
|
3445 | text-decoration: underline; | |||
|
3446 | } | |||
|
3447 | ||||
3431 | .success_msg, .error_msg, .notice_msg, .warning_msg { |
|
3448 | .success_msg, .error_msg, .notice_msg, .warning_msg { | |
3432 | font-size: 12px; |
|
3449 | font-size: 12px; | |
3433 | font-weight: 700; |
|
3450 | font-weight: 700; |
General Comments 0
You need to be logged in to leave comments.
Login now