-
Notifications
You must be signed in to change notification settings - Fork 59
[$20] - Changes for buttons at the Challenge Details page #1054
[$20] - Changes for buttons at the Challenge Details page #1054
Comments
I want to work on this |
So I may be missing something but "similar changes for similar buttons at Design track" do you mean the earlier changes are not there or you are referring to some other track? |
Check the HTML template. Originally it had two large Now we should get rid of that
Don't worry about it. If you don't complete it time till the moment we process payments for this Bug Bash, we just roll it over to the next Bug Bash (our plan is to have them running quite regularly). Sure, if something changes in our plans, or the next Bug Bash delays for too much time, we can always handle your payment for this ticket separately. |
@rushikesh90 Any news on this one? I am preparing to start another Bug Bash this weekend. If you are not interested in this ticket anymore, I'll open it for that Bug Bash. |
Ok Sure you can open this for bug bash. I had some system problem. |
@birdofpreyru Is userrole method working? I get undefined while debugging. |
You are right, if user has submitted, we should not show the Unregister button. I believe in current implementation it is checked already, but it is not hidden, just disabled. Let's hide it. Though, the main focus here is that if user has no Submitter role, we should not show the button at all.
Well, as I have accepted the fix which implemented it, I believe, I has checked and it looked functional to me. Though, probably I have overlooked something. Anyway, if there are any issues with the method, they should be fixed. |
… for design buttons
fixed topcoder-archive/appirio_tech-topcoder-app/issues/1054 refactor for design buttons
Check the ticket #1040 and the corresponding PR topcoder-archive/appirio_tech-tc-site#480. We have re-factored the code behind user actions button at the Challenge Details page for Design track (those
Register
,Unregister
,Submit
, etc. buttons).Under this ticket I want:
To make similar changes for similar buttons at Design track. Inside the HTML template buttons for the both page will be handled by the same simple template we already have, while description and logic behind the buttons for Design page should be moved into the controller, inside
initButtons()
.Use the ability to check for user roles (see the ticket [$40] - Preparing for role-dependent customization of the challenge details page #1002 and the corresponding PR TC App Issue 1002: role-dependent customization of the challenge details page appirio_tech-tc-site#479) to make the following changes to the buttons logic:
Unregister
andComplete Appeals
buttons (Dev track) should be shown only when user hasSubmitter
role.If user has any role beside
Submitter
, we should always show him the activeView Scorecards
button.The text was updated successfully, but these errors were encountered: