{"action":"created","comment":{"url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/pulls/comments/58906813","id":58906813,"diff_hunk":"@@ -0,0 +1,55 @@\n+import React, {Component, PropTypes} from 'react';\n+import {connect} from 'react-redux';\n+import Nav from 'react-bootstrap/lib/Nav';\n+import NavItem from 'react-bootstrap/lib/NavItem';\n+import Image from 'react-bootstrap/lib/Image';\n+import LinkContainer from 'react-router-bootstrap/lib/LinkContainer';\n+\n+export class SpecofferInfoPage extends Component {\n+  render() {\n+    return (\n+      <div>\n+        <LinkContainer to={{ pathname: `/specoffers/list`, query: this.props.specoffersQueryParams }}>\n+          <div>\n+            <Image src=\"/assets/images/icon-circle-arrow-left.png\" circle />\n+          </div>\n+        </LinkContainer>\n+        <h3>Пропозиція №{this.props.params.id}</h3>\n+        <br/>\n+        <Nav bsStyle=\"tabs\" activeKey={1}>\n+          <LinkContainer to={{ pathname: `/specoffers/${this.props.params.id}/enrolments` }}>\n+            <NavItem eventKey={1}>Заяви до пропозиції</NavItem>\n+          </LinkContainer>\n+          <LinkContainer to={{ pathname: `/specoffers/${this.props.params.id}/benefits`}}>\n+            <NavItem eventKey={2}>Пільги</NavItem>\n+          </LinkContainer>\n+          <LinkContainer to={{ pathname: `/specoffers/${this.props.params.id}/info` }}>\n+            <NavItem eventKey={3}>Основна інформація</NavItem>\n+          </LinkContainer>\n+          <LinkContainer to={{ pathname: `/specoffers/${this.props.params.id}/subjects`}}>\n+            <NavItem eventKey={4}>Предмети</NavItem>\n+          </LinkContainer>\n+          <LinkContainer to={{ pathname: `/specoffers/${this.props.params.id}/waves`}}>\n+            <NavItem eventKey={5}>Хвилі</NavItem>\n+          </LinkContainer>\n+        </Nav>\n+        {this.props.children}\n+      </div>\n+    );\n+  }\n+}\n+\n+SpecofferInfoPage.propTypes = {\n+  children: PropTypes.any\n+};\n+\n+function select(state) {\n+  return {\n+    specoffersQueryParams: {\n+      timePeriodId: state.specoffers.list.timePeriodId,\n+      limit: state.specoffers.list.limit\n+    }","path":"src/modules/specoffers/components/SpecofferInfoPage.jsx","position":51,"original_position":51,"commit_id":"3c21becc8c0289bd6e25fc7f0297ee60dec18011","original_commit_id":"3c21becc8c0289bd6e25fc7f0297ee60dec18011","user":{"login":"mkozhukharenko","id":9365923,"avatar_url":"https://avatars.githubusercontent.com/u/9365923?v=3","gravatar_id":"","url":"https://api.github.com/users/mkozhukharenko","html_url":"https://github.com/mkozhukharenko","followers_url":"https://api.github.com/users/mkozhukharenko/followers","following_url":"https://api.github.com/users/mkozhukharenko/following{/other_user}","gists_url":"https://api.github.com/users/mkozhukharenko/gists{/gist_id}","starred_url":"https://api.github.com/users/mkozhukharenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkozhukharenko/subscriptions","organizations_url":"https://api.github.com/users/mkozhukharenko/orgs","repos_url":"https://api.github.com/users/mkozhukharenko/repos","events_url":"https://api.github.com/users/mkozhukharenko/events{/privacy}","received_events_url":"https://api.github.com/users/mkozhukharenko/received_events","type":"User","site_admin":false},"body":"этот кусок кода полностью повторяется в  /NavBar.jsx (98-101). Не проще лучше ли его вынести отдельно?\r\n\r\nИ, честно говоря, прокидывание в компонент limit-а меня смущает.  (`limit: state.specoffers.list.limit`) Может стоит брать его напрямую со стора в action-не?\r\nХотя я могу ошибаться насчет этого. Нужно подумать. ","created_at":"2016-04-07T16:59:17Z","updated_at":"2016-04-07T16:59:17Z","html_url":"https://github.com/mkozhukharenko/ums-frontend/pull/34#discussion_r58906813","pull_request_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/pulls/34","_links":{"self":{"href":"https://api.github.com/repos/mkozhukharenko/ums-frontend/pulls/comments/58906813"},"html":{"href":"https://github.com/mkozhukharenko/ums-frontend/pull/34#discussion_r58906813"},"pull_request":{"href":"https://api.github.com/repos/mkozhukharenko/ums-frontend/pulls/34"}}},"pull_request":{"url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/pulls/34","id":65659670,"html_url":"https://github.com/mkozhukharenko/ums-frontend/pull/34","diff_url":"https://github.com/mkozhukharenko/ums-frontend/pull/34.diff","patch_url":"https://github.com/mkozhukharenko/ums-frontend/pull/34.patch","issue_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/issues/34","number":34,"state":"open","locked":false,"title":"Issue #28: Specoffer list","user":{"login":"mkozhukharenko","id":9365923,"avatar_url":"https://avatars.githubusercontent.com/u/9365923?v=3","gravatar_id":"","url":"https://api.github.com/users/mkozhukharenko","html_url":"https://github.com/mkozhukharenko","followers_url":"https://api.github.com/users/mkozhukharenko/followers","following_url":"https://api.github.com/users/mkozhukharenko/following{/other_user}","gists_url":"https://api.github.com/users/mkozhukharenko/gists{/gist_id}","starred_url":"https://api.github.com/users/mkozhukharenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkozhukharenko/subscriptions","organizations_url":"https://api.github.com/users/mkozhukharenko/orgs","repos_url":"https://api.github.com/users/mkozhukharenko/repos","events_url":"https://api.github.com/users/mkozhukharenko/events{/privacy}","received_events_url":"https://api.github.com/users/mkozhukharenko/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-07T16:27:13Z","updated_at":"2016-04-07T16:59:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f32a35e5d7011b91e5eb5b51f6e8a61414a49da9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/pulls/34/commits","review_comments_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/pulls/34/comments","review_comment_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/issues/34/comments","statuses_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/statuses/3c21becc8c0289bd6e25fc7f0297ee60dec18011","head":{"label":"mkozhukharenko:ormus","ref":"ormus","sha":"3c21becc8c0289bd6e25fc7f0297ee60dec18011","user":{"login":"mkozhukharenko","id":9365923,"avatar_url":"https://avatars.githubusercontent.com/u/9365923?v=3","gravatar_id":"","url":"https://api.github.com/users/mkozhukharenko","html_url":"https://github.com/mkozhukharenko","followers_url":"https://api.github.com/users/mkozhukharenko/followers","following_url":"https://api.github.com/users/mkozhukharenko/following{/other_user}","gists_url":"https://api.github.com/users/mkozhukharenko/gists{/gist_id}","starred_url":"https://api.github.com/users/mkozhukharenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkozhukharenko/subscriptions","organizations_url":"https://api.github.com/users/mkozhukharenko/orgs","repos_url":"https://api.github.com/users/mkozhukharenko/repos","events_url":"https://api.github.com/users/mkozhukharenko/events{/privacy}","received_events_url":"https://api.github.com/users/mkozhukharenko/received_events","type":"User","site_admin":false},"repo":{"id":53267239,"name":"ums-frontend","full_name":"mkozhukharenko/ums-frontend","owner":{"login":"mkozhukharenko","id":9365923,"avatar_url":"https://avatars.githubusercontent.com/u/9365923?v=3","gravatar_id":"","url":"https://api.github.com/users/mkozhukharenko","html_url":"https://github.com/mkozhukharenko","followers_url":"https://api.github.com/users/mkozhukharenko/followers","following_url":"https://api.github.com/users/mkozhukharenko/following{/other_user}","gists_url":"https://api.github.com/users/mkozhukharenko/gists{/gist_id}","starred_url":"https://api.github.com/users/mkozhukharenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkozhukharenko/subscriptions","organizations_url":"https://api.github.com/users/mkozhukharenko/orgs","repos_url":"https://api.github.com/users/mkozhukharenko/repos","events_url":"https://api.github.com/users/mkozhukharenko/events{/privacy}","received_events_url":"https://api.github.com/users/mkozhukharenko/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mkozhukharenko/ums-frontend","description":"ums-frontend","fork":false,"url":"https://api.github.com/repos/mkozhukharenko/ums-frontend","forks_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/forks","keys_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/teams","hooks_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/hooks","issue_events_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/events","assignees_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/tags","blobs_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/languages","stargazers_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/stargazers","contributors_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/contributors","subscribers_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/subscribers","subscription_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/subscription","commits_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/merges","archive_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/downloads","issues_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/labels{/name}","releases_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/deployments","created_at":"2016-03-06T17:31:11Z","updated_at":"2016-03-22T19:20:20Z","pushed_at":"2016-04-07T16:27:14Z","git_url":"git://github.com/mkozhukharenko/ums-frontend.git","ssh_url":"git@github.com:mkozhukharenko/ums-frontend.git","clone_url":"https://github.com/mkozhukharenko/ums-frontend.git","svn_url":"https://github.com/mkozhukharenko/ums-frontend","homepage":null,"size":310,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":11,"forks":1,"open_issues":11,"watchers":0,"default_branch":"master"}},"base":{"label":"mkozhukharenko:master","ref":"master","sha":"ad891b63e35b1a8f2cfcd9af6b0b7117f26513e3","user":{"login":"mkozhukharenko","id":9365923,"avatar_url":"https://avatars.githubusercontent.com/u/9365923?v=3","gravatar_id":"","url":"https://api.github.com/users/mkozhukharenko","html_url":"https://github.com/mkozhukharenko","followers_url":"https://api.github.com/users/mkozhukharenko/followers","following_url":"https://api.github.com/users/mkozhukharenko/following{/other_user}","gists_url":"https://api.github.com/users/mkozhukharenko/gists{/gist_id}","starred_url":"https://api.github.com/users/mkozhukharenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkozhukharenko/subscriptions","organizations_url":"https://api.github.com/users/mkozhukharenko/orgs","repos_url":"https://api.github.com/users/mkozhukharenko/repos","events_url":"https://api.github.com/users/mkozhukharenko/events{/privacy}","received_events_url":"https://api.github.com/users/mkozhukharenko/received_events","type":"User","site_admin":false},"repo":{"id":53267239,"name":"ums-frontend","full_name":"mkozhukharenko/ums-frontend","owner":{"login":"mkozhukharenko","id":9365923,"avatar_url":"https://avatars.githubusercontent.com/u/9365923?v=3","gravatar_id":"","url":"https://api.github.com/users/mkozhukharenko","html_url":"https://github.com/mkozhukharenko","followers_url":"https://api.github.com/users/mkozhukharenko/followers","following_url":"https://api.github.com/users/mkozhukharenko/following{/other_user}","gists_url":"https://api.github.com/users/mkozhukharenko/gists{/gist_id}","starred_url":"https://api.github.com/users/mkozhukharenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkozhukharenko/subscriptions","organizations_url":"https://api.github.com/users/mkozhukharenko/orgs","repos_url":"https://api.github.com/users/mkozhukharenko/repos","events_url":"https://api.github.com/users/mkozhukharenko/events{/privacy}","received_events_url":"https://api.github.com/users/mkozhukharenko/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mkozhukharenko/ums-frontend","description":"ums-frontend","fork":false,"url":"https://api.github.com/repos/mkozhukharenko/ums-frontend","forks_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/forks","keys_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/teams","hooks_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/hooks","issue_events_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/events","assignees_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/tags","blobs_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/languages","stargazers_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/stargazers","contributors_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/contributors","subscribers_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/subscribers","subscription_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/subscription","commits_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/merges","archive_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/downloads","issues_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/labels{/name}","releases_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/mkozhukharenko/ums-frontend/deployments","created_at":"2016-03-06T17:31:11Z","updated_at":"2016-03-22T19:20:20Z","pushed_at":"2016-04-07T16:27:14Z","git_url":"git://github.com/mkozhukharenko/ums-frontend.git","ssh_url":"git@github.com:mkozhukharenko/ums-frontend.git","clone_url":"https://github.com/mkozhukharenko/ums-frontend.git","svn_url":"https://github.com/mkozhukharenko/ums-frontend","homepage":null,"size":310,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":11,"forks":1,"open_issues":11,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mkozhukharenko/ums-frontend/pulls/34"},"html":{"href":"https://github.com/mkozhukharenko/ums-frontend/pull/34"},"issue":{"href":"https://api.github.com/repos/mkozhukharenko/ums-frontend/issues/34"},"comments":{"href":"https://api.github.com/repos/mkozhukharenko/ums-frontend/issues/34/comments"},"review_comments":{"href":"https://api.github.com/repos/mkozhukharenko/ums-frontend/pulls/34/comments"},"review_comment":{"href":"https://api.github.com/repos/mkozhukharenko/ums-frontend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mkozhukharenko/ums-frontend/pulls/34/commits"},"statuses":{"href":"https://api.github.com/repos/mkozhukharenko/ums-frontend/statuses/3c21becc8c0289bd6e25fc7f0297ee60dec18011"}}}}