diff --git a/.gitignore b/.gitignore index 44247461a..52cf51417 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,5 @@ log /log/development.scm.stderr.log test/* tmp/* +/app/models/tag.rb +/app/models/tag.rb diff --git a/Client.html b/Client.html new file mode 100644 index 000000000..5ba9775f1 --- /dev/null +++ b/Client.html @@ -0,0 +1,25 @@ + + +
+photo Share A
+Text Share B
+Text Share C
+<%=l(:label_user_response)%>(<%= journals.count%>) | +<% if journals.size > 5 %>
<% unless state%>
<%= link_to l(:button_more),
@@ -16,22 +18,35 @@
:method => 'get' %>
<% end %>
-<% end %>
-
-<%=l(:label_user_response)%>(<%= journals.count%>)+<% end %> | + |
<%= link_to image_tag(url_to_avatar(journal.user), :class => "avatar"), user_path(journal.user), :class => "avatar" %> | +
|
+
<%= label_tag 'user_message', l(:label_leave_message) %><%= text_area_tag 'user_message', nil %>
- + :sta => sta}) do |f|%> +<%= f.text_area 'message', :rows => 4, :cols => 65, :value => "鎴戣鍙嶉", :required => true, :style => "resize: none;" %> | +
<%= submit_tag l(:button_leave_meassge), :name => nil %> + <%= submit_tag l(:button_clear), :name => nil, :onclick => "clearMessage('user_message_message');", :type => 'button' %> |
-
|
+
闇姹傚垪琛 | +
<%= link_to image_tag(url_to_avatar(bid.author), :class => 'avatar'), :class => "avatar" %> | +
+
|
+
<%= link_to image_tag(url_to_avatar(@bid.author), :class => "avatar"), user_path(@bid.author), :class => "avatar" %> | +
|
+
闇姹傛弿杩 |
+ |
<%= @bid.description %> | |
<%= @bid.description %> |
鏍囩浜戯細 | -
---|
- |
![]() |
-
<%= link_to "鏄剧ず鎵鏈夊簲鏍囬」鐩",home_path %>(<%= link_to @bid.biding_projects.count, home_path %>) | -
+ <% for project in @bid.projects%> + <%= link_to image_tag(url_to_avatar(project), :class => "avatar"), project_path(project), :class => "avatar" %> + <% end%> | +
Access token | +Comment | +Url | +Title | +Share type | ++ | + | + |
---|---|---|---|---|---|---|---|
<%= share.access_token %> | +<%= share.comment %> | +<%= share.url %> | +<%= share.title %> | +<%= share.share_type %> | +<%= link_to 'Show', share %> | +<%= link_to 'Edit', edit_share_path(share) %> | +<%= link_to 'Destroy', share, method: :delete, data: { confirm: 'Are you sure?' } %> | +
<%= notice %>
+ ++ Access token: + <%= @share.access_token %> +
+ ++ Comment: + <%= @share.comment %> +
+ ++ Url: + <%= @share.url %> +
+ ++ Title: + <%= @share.title %> +
+ ++ Share type: + <%= @share.share_type %> +
+ + +<%= link_to 'Edit', edit_share_path(@share) %> | +<%= link_to 'Back', shares_path %> diff --git a/app/views/tags/_tag_search_results.html.erb b/app/views/tags/_tag_search_results.html.erb index 7fba13974..1d7b6d9b8 100644 --- a/app/views/tags/_tag_search_results.html.erb +++ b/app/views/tags/_tag_search_results.html.erb @@ -8,7 +8,6 @@ <% end %> <% end %> - <% if users_results.size > 0 %>