<% bg = ERbUtil::BGAttr.new list = @paper.list_by_commentator(@session.username, true) %> > <% list.each do |item| trbg = bg.to_s %> > <% i = 1 item['comment'].each do |c| i += 1 %> > <% end %> <%= form('comment', context) %> > <% end %>
コメント待ち
だれ いつ コメント <%= list.size%> items
1. <%=h item['owner'] %> <%=h item['time'].strftime('%m/%d') %> <%=h item['text'] %>
<%=i%>. <%=h c['who'] %> <%=h c['time'].strftime('%m/%d') %> <%=h c['text'] %> <%= c['succ'] ? "OK" : "NG" %>
<%=i+1%>. <%=h @session.username %> OK NG
<% bg = ERbUtil::BGAttr.new list = @paper.list_by_owner(@session.username, true) %> > <% list.each do |item| trbg = bg.to_s %> > <% i = 1 item['comment'].each do |c| i += 1 %> > <% end item['member'].each do |m| i += 1 %> > <% end end if @mode == :edit %> > <%= form('add') %> > <% else %> > <% end %>
自分の回覧
だれ いつ コメント <%= list.size%> items
1. <%=h @session.username%> <%=h item['time'].strftime('%m/%d') %> <%=h item['text'] %> [<%=a('remove', {'key'=>item['key']}, context)%>X]
<%=i%>. <%=h c['who'] %> <%=h c['time'].strftime('%m/%d') %> <%=h c['text'] %> <%= c['succ'] ? "OK" : "NG" %>
<%=i%>. <%=h m%> - - -
[<%=a('browse', {}, context)%>Close]
[<%=a('edit', {}, context)%>Add]