mirror of
https://we.phorge.it/source/phorge.git
synced 2025-02-14 15:58:39 +01:00
Summary: When an object is updated, record the content source for the update. This mostly isn't terribly useful but one concrete thing I want to do with it is let admins audit via-email replies more easily since there are a bunch of options which let you do hyjinx if you intentionally configure them insecurely. I think having a little more auditability around this feature is generally good. At some point I'm going to turn this into a link admins can click to see details. It also allows us to see how frequently different mechanisms are used, and lets you see if someone is at their desk or on a mobile or whatever, at least indirectly. The "tablet" and "mobile" sources are currently unused but I figured I'd throw them in anyway. SMS support should definitely happen at some point. Not 100% sure about the design for this, I might change it to plain text at some point. Test Plan: Updated objects and saw update sources rendered. Reviewers: jungejason, tuomaspelkonen, aran Reviewed By: jungejason CC: aran, epriestley, jungejason Differential Revision: 844
32 lines
776 B
CSS
32 lines
776 B
CSS
/**
|
|
* @provides phabricator-content-source-view-css
|
|
*/
|
|
|
|
.phabricator-content-source-view {
|
|
padding: 2px 20px 2px 0;
|
|
font-size: 11px;
|
|
color: #888888;
|
|
font-weight: normal;
|
|
background: no-repeat right center;
|
|
position: relative;
|
|
}
|
|
|
|
.phabricator-content-source-web {
|
|
background-image: url(/rsrc/image/icon/fatcow/source/web.png);
|
|
}
|
|
|
|
.phabricator-content-source-email {
|
|
background-image: url(/rsrc/image/icon/fatcow/source/email.png);
|
|
}
|
|
|
|
.phabricator-content-source-conduit {
|
|
background-image: url(/rsrc/image/icon/fatcow/source/conduit.png);
|
|
}
|
|
|
|
.phabricator-content-source-mobile {
|
|
background-image: url(/rsrc/image/icon/fatcow/source/mobile.png);
|
|
}
|
|
|
|
.phabricator-content-source-tablet {
|
|
background-image: url(/rsrc/image/icon/fatcow/source/tablet.png);
|
|
}
|