lib/repos/index.jsView |
---|
157 | 157 … | 'onclick="this.select()"/>' |
158 | 158 … | var digsPath = [repo.id, 'digs'] |
159 | 159 … | |
160 | 160 … | var done = multicb({ pluck: 1, spread: true }) |
161 | | - self.web.getRepoName(repo.creator, repo.id, done()) |
162 | | - self.web.about.getName(repo.creator, done()) |
| 161 … | + self.web.getRepoName(repo.feed, repo.id, done()) |
| 162 … | + self.web.about.getName(repo.feed, done()) |
163 | 163 … | self.web.getVotes(repo.id, done()) |
164 | 164 … | |
165 | 165 … | if (repo.upstream) { |
166 | 166 … | self.web.getRepoName(repo.upstream.feed, repo.upstream.id, done()) |
200 | 200 … | req._t('Forks') + '"') + |
201 | 201 … | '</form>' + |
202 | 202 … | forms.name(req, !isPublic, repo.id, repoName, 'repo-name', |
203 | 203 … | null, req._t('repo.Rename'), |
204 | | - '<h2 class="bgslash">' + u.link([repo.creator], authorName) + ' / ' + |
| 204 … | + '<h2 class="bgslash">' + u.link([repo.feed], authorName) + ' / ' + |
205 | 205 … | u.link([repo.id], repoName) + '</h2>') + |
206 | 206 … | '</div>' + |
207 | 207 … | (repo.upstream ? '<small class="bgslash">' + req._t('ForkedFrom', { |
208 | 208 … | repo: u.link([repo.upstream.feed], upstreamAuthorName) + '/' + |
221 | 221 … | }) |
222 | 222 … | } |
223 | 223 … | |
224 | 224 … | R.serveEmptyRepo = function (req, repo) { |
225 | | - if (repo.creator != this.web.myId) |
| 225 … | + if (repo.feed != this.web.myId) |
226 | 226 … | return this.renderRepoPage(req, repo, 'code', null, null, pull.once( |
227 | 227 … | '<section>' + |
228 | 228 … | '<h3>' + req._t('EmptyRepo') + '</h3>' + |
229 | 229 … | '</section>')) |
284 | 284 … | pull.map(renderRepoUpdate.bind(self, req, repo)) |
285 | 285 … | ), |
286 | 286 … | u.readOnce(function (cb) { |
287 | 287 … | var done = multicb({ pluck: 1, spread: true }) |
288 | | - self.web.about.getName(repo.creator, done()) |
| 288 … | + self.web.about.getName(repo.feed, done()) |
289 | 289 … | self.web.getMsg(repo.id, done()) |
290 | 290 … | done(function (err, authorName, msg) { |
291 | 291 … | if (err) return cb(err) |
292 | 292 … | self.web.renderFeedItem(req, { |