-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feedbacks: convert json data to csv dump. #81
Conversation
Resolves #72 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The following changes are needed in this PR:
- The
Dump Feedbacks
option is showing up both infeedbacks-prof
andfeedbacks-admin
portals. It should only show up infeedbacks-admin
. (Or, optionally, add a feature which allows a professor to export his/her feedbacks) - Rename
Dump Feedbacks
toExport Feedbacks
- Add icons / image in the view where the export option is shown
- Name the exported files as
24x7-feedbacks-YYYY-MM-DD.csv
andmidsem-feedbacks-YYYY-MM-DD.csv
resolved. |
.mdl-grid | ||
.mdl-layout-spacer | ||
.mdl-cell.mdl-cell--4-col.mdl-card.mdl-shadow--2dp.profile-select(onclick="window.location.replace('#{rootURL}/#{reqPortal}/export/24x7')") | ||
img.profile(src='/images/feedback/24.png') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use a different image for the export link. Divide the view into two halves.
Upper half for:
- View 24x7 Feedbacks (Use existing image)
- Export 24x7 Feedbacks (Use a new import/export image)
Lower Half For
- View Mid-Semester Feedbacks (Use existing image)
- Export Mid-Semester Feedbacks (Use the new import/export image)
…ns to the export column.
…he option of export to feedbacks-prof.
Resolved. |
There is still a security issue with this PR. When exporting feedbacks from It should only contain the feedbacks received for currently logged in user. |
resolved. |
work in progress