remove extra comments
This commit is contained in:
parent
6cb78672c8
commit
bc67644ba9
2 changed files with 0 additions and 29 deletions
|
@ -36,15 +36,3 @@ class UpperLeftUI extends Component {
|
|||
}
|
||||
|
||||
export default UpperLeftUI
|
||||
|
||||
/*
|
||||
|
||||
<% request = current_user && @map && @allrequests.find{|a| a.user == current_user}
|
||||
className = (@map and not policy(@map).update?) ? 'isViewOnly ' : ''
|
||||
if @map
|
||||
className += 'sendRequest' if not request
|
||||
className += 'sentRequest' if request and not request.answered
|
||||
className += 'requestDenied' if request and request.answered and not request.approved
|
||||
end %>
|
||||
|
||||
*/
|
||||
|
|
|
@ -68,20 +68,3 @@ class App extends Component {
|
|||
}
|
||||
|
||||
export default App
|
||||
|
||||
/*
|
||||
<% classes = action_name == "home" ? "homePage" : ""
|
||||
classes += action_name == "home" && authenticated? ? " explorePage" : ""
|
||||
classes += controller_name == "maps" && action_name == "index" ? " explorePage" : ""
|
||||
if controller_name == "maps" && action_name == "show"
|
||||
classes += " mapPage"
|
||||
if policy(@map).update?
|
||||
classes += " canEditMap"
|
||||
end
|
||||
if @map.permission == "commons"
|
||||
classes += " commonsMap"
|
||||
end
|
||||
end
|
||||
classes += controller_name == "topics" && action_name == "show" ? " topicPage" : ""
|
||||
%>
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue