Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sample_app
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Quang Vinh Nguyen
sample_app
Commits
a9faeb58
Commit
a9faeb58
authored
Jun 05, 2018
by
Quang Vinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update micropost view page_css tag
parent
2689d50b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
3 deletions
+2
-3
app/views/microposts/_micropost.html.erb
+0
-1
app/views/users/show.html.erb
+1
-1
app/views/users/show_follow.html.erb
+1
-1
No files found.
app/views/microposts/_micropost.html.erb
View file @
a9faeb58
<!-- <li id="micropost-
<%=
micropost
.
id
%>
"> -->
<li
id=
"
<%=
micropost
.
id
%>
"
>
<li
id=
"
<%=
micropost
.
id
%>
"
>
<%=
link_to
gravatar_for
(
micropost
.
user
,
size:
50
),
micropost
.
user
%>
<%=
link_to
gravatar_for
(
micropost
.
user
,
size:
50
),
micropost
.
user
%>
<span
class=
'user'
>
<%=
link_to
micropost
.
user
.
name
,
micropost
.
user
%>
</span>
<span
class=
'user'
>
<%=
link_to
micropost
.
user
.
name
,
micropost
.
user
%>
</span>
...
...
app/views/users/show.html.erb
View file @
a9faeb58
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
<%=
render
'follow_form'
if
logged_in?
%>
<%=
render
'follow_form'
if
logged_in?
%>
<%
if
@user
.
microposts
.
any?
%>
<%
if
@user
.
microposts
.
any?
%>
<h3>
Microposts (
<%=
@user
.
microposts
.
count
%>
)
</h3>
<h3>
Microposts (
<%=
@user
.
microposts
.
count
%>
)
</h3>
<ol
class=
'micropost'
>
<ol
class=
'micropost
s
'
>
<%=
render
@microposts
%>
<%=
render
@microposts
%>
</ol>
</ol>
<%=
will_paginate
@microposts
%>
<%=
will_paginate
@microposts
%>
...
...
app/views/users/show_follow.html.erb
View file @
a9faeb58
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
<div
class=
'col-md-8'
>
<div
class=
'col-md-8'
>
<h3>
<%=
@title
%>
</h3>
<h3>
<%=
@title
%>
</h3>
<%
if
@users
.
any?
%>
<%
if
@users
.
any?
%>
<ul
class=
'user follow'
>
<ul
class=
'user
s
follow'
>
<%=
render
@users
%>
<%=
render
@users
%>
</ul>
</ul>
<%=
will_paginate
%>
<%=
will_paginate
%>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment