Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion FusionIIIT/applications/iwdModuleV2/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# in conjunction with SRS. After that, everything will become easier.

def dashboard(request):
eligible = False
eligible = True
userObj = request.user
userDesignationObjects = HoldsDesignation.objects.filter(user=userObj)
for p in userDesignationObjects:
Expand Down
6 changes: 3 additions & 3 deletions FusionIIIT/templates/iwdModuleV2/createWork.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@
Create Project Requisition:
</div>

<form action="http://172.27.16.216/iwdModuleV2/page3_1/">
<form action="page3_1">
<input class="ui large primary button right floated" type="Submit" value="Page3"/>
</form>



<form action="http://172.27.16.216/iwdModuleV2/page2_1/">
<form action="page2_1">
<input class="ui large primary button right floated" type="Submit" value="Page2" />
</form>


<form action="http://172.27.16.216/iwdModuleV2/page1_1/">
<form action="page1_1">
<input class="ui large primary button right floated" type="Submit" value="Page1" />
</form>

Expand Down
2 changes: 1 addition & 1 deletion FusionIIIT/templates/iwdModuleV2/viewWork.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="fields">
<div class="eight wide field">
<form class="ui form" style="padding: 8px; padding-left: 24px; padding-right: 24px;", method="post" action="http://172.27.16.216/iwdModuleV2/page1View/">{% csrf_token %}
<form class="ui form" style="padding: 8px; padding-left: 24px; padding-right: 24px;", method="post" action="page1View">{% csrf_token %}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the page is not being redirected to page1View

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here our task was just to make end point and as create view requisition was not showing anything I do this.
For proper redirect to page1View that was this weeks task I have generated a PR Today
#1073

<label>Project ID<sup><i class="small red asterisk icon"></i></sup></label><p id="id"></p>
<div class="ui fluid input">
<textarea id="project_id" class="ui textarea" rows="1" name="id" required="true"></textarea>
Expand Down