@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.

New icons for Projects

Summary: Updates the builtin images, leaves the old choose... icons for now. I'd like to automate this based on icon when creating a project.

Test Plan: Visit edit picture page, pick a few. Purge cache, see new default image.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

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

+33 -3
resources/builtin/project.png

This is a binary file and will not be displayed.

resources/builtin/projects/v3/briefcase.png

This is a binary file and will not be displayed.

resources/builtin/projects/v3/bug.png

This is a binary file and will not be displayed.

resources/builtin/projects/v3/calendar.png

This is a binary file and will not be displayed.

resources/builtin/projects/v3/cloud.png

This is a binary file and will not be displayed.

resources/builtin/projects/v3/creditcard.png

This is a binary file and will not be displayed.

resources/builtin/projects/v3/database.png

This is a binary file and will not be displayed.

resources/builtin/projects/v3/desktop.png

This is a binary file and will not be displayed.

resources/builtin/projects/v3/experimental.png

This is a binary file and will not be displayed.

resources/builtin/projects/v3/flag.png

This is a binary file and will not be displayed.

resources/builtin/projects/v3/folder.png

This is a binary file and will not be displayed.

resources/builtin/projects/v3/lock.png

This is a binary file and will not be displayed.

resources/builtin/projects/v3/mail.png

This is a binary file and will not be displayed.

resources/builtin/projects/v3/mobile.png

This is a binary file and will not be displayed.

resources/builtin/projects/v3/organization.png

This is a binary file and will not be displayed.

resources/builtin/projects/v3/people.png

This is a binary file and will not be displayed.

resources/builtin/projects/v3/servers.png

This is a binary file and will not be displayed.

resources/builtin/projects/v3/tag.png

This is a binary file and will not be displayed.

resources/builtin/projects/v3/trash.png

This is a binary file and will not be displayed.

resources/builtin/projects/v3/truck.png

This is a binary file and will not be displayed.

resources/builtin/projects/v3/umbrella.png

This is a binary file and will not be displayed.

+33 -3
src/applications/project/controller/PhabricatorProjectEditPictureController.php
··· 121 121 } 122 122 } 123 123 124 + $builtins = array( 125 + 'projects/v3/bug.png', 126 + 'projects/v3/calendar.png', 127 + 'projects/v3/cloud.png', 128 + 'projects/v3/creditcard.png', 129 + 'projects/v3/database.png', 130 + 'projects/v3/desktop.png', 131 + 'projects/v3/experimental.png', 132 + 'projects/v3/flag.png', 133 + 'projects/v3/folder.png', 134 + 'projects/v3/lock.png', 135 + 'projects/v3/mail.png', 136 + 'projects/v3/mobile.png', 137 + 'projects/v3/organization.png', 138 + 'projects/v3/people.png', 139 + 'projects/v3/servers.png', 140 + 'projects/v3/tag.png', 141 + 'projects/v3/trash.png', 142 + 'projects/v3/truck.png', 143 + 'projects/v3/umbrella.png', 144 + ); 145 + 146 + foreach ($builtins as $builtin) { 147 + $file = PhabricatorFile::loadBuiltin($viewer, $builtin); 148 + $images[$file->getPHID()] = array( 149 + 'uri' => $file->getBestURI(), 150 + 'tip' => pht('Builtin Image'), 151 + ); 152 + } 153 + 124 154 $images[PhabricatorPHIDConstants::PHID_VOID] = array( 125 155 'uri' => $default_image->getBestURI(), 126 - 'tip' => pht('No Picture'), 156 + 'tip' => pht('Default Picture'), 127 157 ); 128 158 129 159 require_celerity_resource('people-profile-css'); ··· 200 230 $compose_button = javelin_tag( 201 231 'button', 202 232 array( 203 - 'class' => 'grey', 233 + 'class' => 'button-grey', 204 234 'id' => $launch_id, 205 235 'sigil' => 'icon-composer', 206 236 ), ··· 227 257 228 258 $form->appendChild( 229 259 id(new AphrontFormMarkupControl()) 230 - ->setLabel(pht('Quick Create')) 260 + ->setLabel(pht('Custom')) 231 261 ->setValue($compose_form)); 232 262 233 263 $upload_form = id(new AphrontFormView())