Commit 6454bcbf authored by Valery Sizov's avatar Valery Sizov

revert cache issue

parent 95d89e44
...@@ -12,6 +12,9 @@ v 7.14.0 (unreleased) ...@@ -12,6 +12,9 @@ v 7.14.0 (unreleased)
- Add support for destroying project milestones (Stan Hu) - Add support for destroying project milestones (Stan Hu)
- Add fetch command to the MR page. - Add fetch command to the MR page.
v 7.13.1
- Revert issue caching
v 7.13.0 (unreleased) v 7.13.0 (unreleased)
- Remove repository graph log to fix slow cache updates after push event (Stan Hu) - Remove repository graph log to fix slow cache updates after push event (Stan Hu)
- Only enable HSTS header for HTTPS and port 443 (Stan Hu) - Only enable HSTS header for HTTPS and port 443 (Stan Hu)
......
...@@ -3,43 +3,42 @@ ...@@ -3,43 +3,42 @@
.issue-check .issue-check
= check_box_tag dom_id(issue,"selected"), nil, false, 'data-id' => issue.id, class: "selected_issue" = check_box_tag dom_id(issue,"selected"), nil, false, 'data-id' => issue.id, class: "selected_issue"
= cache issue do .issue-title
.issue-title %span.issue-title-text
%span.issue-title-text = link_to_gfm issue.title, issue_path(issue), class: "row_title"
= link_to_gfm issue.title, issue_path(issue), class: "row_title" .issue-labels
.issue-labels - issue.labels.each do |label|
- issue.labels.each do |label| = link_to_label(label, project: issue.project)
= link_to_label(label, project: issue.project) .pull-right.light
.pull-right.light - if issue.closed?
- if issue.closed? %span
%span CLOSED
CLOSED - if issue.assignee
- if issue.assignee = link_to_member(@project, issue.assignee, name: false)
= link_to_member(@project, issue.assignee, name: false) - note_count = issue.notes.user.count
- note_count = issue.notes.user.count - if note_count > 0
- if note_count > 0
 
%span
%i.fa.fa-comments
= note_count
- else
 
%span.issue-no-comments
%i.fa.fa-comments
= 0
.issue-info
= "#{issue.to_reference} opened #{time_ago_with_tooltip(issue.created_at, placement: 'bottom')} by #{link_to_member(@project, issue.author, avatar: false)}".html_safe
- if issue.votes_count > 0
= render 'votes/votes_inline', votable: issue
- if issue.milestone
   
%span %span
%i.fa.fa-clock-o %i.fa.fa-comments
= issue.milestone.title = note_count
- if issue.tasks? - else
%span.task-status  
= issue.task_status %span.issue-no-comments
%i.fa.fa-comments
= 0
.issue-info
= "#{issue.to_reference} opened #{time_ago_with_tooltip(issue.created_at, placement: 'bottom')} by #{link_to_member(@project, issue.author, avatar: false)}".html_safe
- if issue.votes_count > 0
= render 'votes/votes_inline', votable: issue
- if issue.milestone
 
%span
%i.fa.fa-clock-o
= issue.milestone.title
- if issue.tasks?
%span.task-status
= issue.task_status
.pull-right.issue-updated-at .pull-right.issue-updated-at
%small updated #{time_ago_with_tooltip(issue.updated_at, placement: 'bottom', html_class: 'issue_update_ago')} %small updated #{time_ago_with_tooltip(issue.updated_at, placement: 'bottom', html_class: 'issue_update_ago')}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment