@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Minor Ponder spacing updates

Summary: Fix an issue where you've already answered, moved the summary section.

Test Plan: Review an answer with a wiki that i've already answered

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D15395

+6 -5
+2 -2
resources/celerity/map.php
··· 92 92 'rsrc/css/application/policy/policy-edit.css' => '815c66f7', 93 93 'rsrc/css/application/policy/policy-transaction-detail.css' => '82100a43', 94 94 'rsrc/css/application/policy/policy.css' => '957ea14c', 95 - 'rsrc/css/application/ponder/ponder-view.css' => '4e321d68', 95 + 'rsrc/css/application/ponder/ponder-view.css' => 'fbd45f96', 96 96 'rsrc/css/application/project/project-card-view.css' => '9418c97d', 97 97 'rsrc/css/application/project/project-view.css' => '9ce99f21', 98 98 'rsrc/css/application/releeph/releeph-core.css' => '9b3c5733', ··· 857 857 'policy-css' => '957ea14c', 858 858 'policy-edit-css' => '815c66f7', 859 859 'policy-transaction-detail-css' => '82100a43', 860 - 'ponder-view-css' => '4e321d68', 860 + 'ponder-view-css' => 'fbd45f96', 861 861 'project-card-view-css' => '9418c97d', 862 862 'project-view-css' => '9ce99f21', 863 863 'releeph-core' => '9b3c5733',
+1 -1
src/applications/ponder/controller/PonderQuestionViewController.php
··· 108 108 'class' => 'ponder-question-content', 109 109 ), 110 110 array( 111 + $answer_wiki, 111 112 $footer, 112 113 $comment_view, 113 - $answer_wiki, 114 114 $answers, 115 115 $answer_add_panel, 116 116 ));
+2 -1
src/applications/ponder/view/PonderAddAnswerView.php
··· 22 22 23 23 $authors = mpull($question->getAnswers(), null, 'getAuthorPHID'); 24 24 if (isset($authors[$viewer->getPHID()])) { 25 - return id(new PHUIInfoView()) 25 + $view = id(new PHUIInfoView()) 26 26 ->setSeverity(PHUIInfoView::SEVERITY_NOTICE) 27 27 ->setTitle(pht('Already Answered')) 28 28 ->appendChild( 29 29 pht( 30 30 'You have already answered this question. You can not answer '. 31 31 'twice, but you can edit your existing answer.')); 32 + return phutil_tag_div('ponder-add-answer-view', $view); 32 33 } 33 34 34 35 $info_panel = null;
+1 -1
webroot/rsrc/css/application/ponder/ponder-view.css
··· 117 117 } 118 118 119 119 .ponder-answer-section { 120 - margin-top: 32px; 120 + margin-top: 48px; 121 121 } 122 122 123 123 .ponder-add-answer-header {